Xref: utzoo comp.std.c:2148 comp.lang.c:23912 Path: utzoo!attcan!uunet!samsung!rex!wuarchive!ukma!beech From: beech@ms.uky.edu (Wayne Beech) Newsgroups: comp.std.c,comp.lang.c Subject: directory handling in ansi C Keywords: ansi c, directories Message-ID: <13288@s.ms.uky.edu> Date: 21 Nov 89 14:07:25 GMT Organization: U of Ky, Math. Sciences, Lexington KY Lines: 13 Hello, Does anyone know the rationale behind not specifically defining a set of functions to work with directories in ansi C; things like opendir(), next_dir_entry(), isdir(), etc. if you are writing a program that works with directories that is expected to run on unix and non-unix machines how do you handle this? with a bunch of #ifdef UNIX #elif SOMEOTHERMACHINE ....? -- ============================================================================= UUCP : !ukma!beech BITNET: beech@ukma DOMAIN: beech@ms.uky.edu