Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cs.utexas.edu!tut.cis.ohio-state.edu!rutgers!cmcl2!adm!xadmx!POSTMASTER%DICKINSN.BITNET@cornellc.cit.cornell.edu From: POSTMASTER%DICKINSN.BITNET@cornellc.cit.cornell.edu (Postmaster) Newsgroups: comp.unix.wizards Subject: Returned network mail Message-ID: <21232@adm.BRL.MIL> Date: 21 Oct 89 19:12:00 GMT Sender: news@adm.BRL.MIL Lines: 52 This message was automatically generated. Your mail message could not be delivered at Dickinson College in Carlisle, Pennsylvania because the user address was not known at our site. Addresses at Dickinson College are of the following format: username@DICKINSN e.g., POSTMASTER@DICKINSN or ALLAN_J@DICKINSN or WOLTER@DICKINSN Usernames are typically the first 8 letters of the person's last name, frequently with the first initial added, and occasionally with an underscore. As a result, it would be difficult to guess someone's username. If you do not know the address of someone at Dickinson, please send a message to POSTMASTER@DICKINSN asking for help. ---------------------------------------------------------------------- The following diagnostic is the reason for the return: %BNET-W-NOSUCHRCVR, receiver LEYON_C cannot be located Returned mail follows: ---------------------- Received: From PSUVM(MAILER) by DICKINSN with Jnet id 7979 for LEYON_C@DICKINSN; Sat, 21 Oct 89 14:38 EDT Received: by PSUVM (Mailer R2.03B) id 0966; Sat, 21 Oct 89 14:39:42 EDT Date: Sat, 21 Oct 89 08:20:00 CDT Reply-To: Unix-Wizards@BRL.ARPA Sender: Unix-Wizards Mailing List From: Digital Knight in Circuit Board Armor Subject: RE: C on Directory X-To: Unix-Wizards@BRL.MIL To: Chris Leyon From _Advanced_Unix_Programing_ by Marc Rochkind: A directory has the following structure: struct direct { ino_t d_ino; char d_name[DIRSIZE + 1] } dlink; ino_t and DIRSIZE are declared in "" Open/Read/Close Dir could be implemented as macros to open a file, read it with this structure, and close it. Patrick Spinler pspinler%mkvax1@msus1.bitnet