Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!lavaca.uh.edu!elroy!cosc6bp From: cosc6bp@elroy.uh.edu (A JETSON News User) Newsgroups: comp.lang.c Subject: Re: /tmp file duration program questions. Answer. Message-ID: <5491.25cfe8f7@elroy.uh.edu> Date: 7 Feb 90 15:23:03 GMT Organization: University of Houston Lines: 15 Thanks to all who replied to my questions, they where all helpful and informative. From an offline note, the winner of getting the directory information from /tmp using C is: #include #include DIR *dp; struct dirent *de; dp = opendir("/tmp"); while ((de = readdir(dp)) != NULL) dosomething(de->d_name); closedir(dp); Nice stuff. Ignacio Valdes