directory handling in ansi C

Wayne Beech beech at ms.uky.edu
Wed Nov 22 01:07:25 AEST 1989


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 at ukma
DOMAIN: beech at ms.uky.edu



More information about the Comp.lang.c mailing list