Article View: comp.std.c
Article #931directory handling in ansi C
From: Wayne Beech
Date: Tue, 21 Nov 1989 14:07
Date: Tue, 21 Nov 1989 14:07
13 lines
868 bytes
868 bytes
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
Technical Details
Message-ID:
<13288@s.ms.uky.edu>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!samsung!rex!wuarchive!ukma!beechShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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