given inode and fs, determine if dir or not?

Mike Khaw mkhaw at teknowledge-vaxc.ARPA
Wed Nov 23 06:22:09 AEST 1988


If I have an inode (and fs root) on hand, how do I tell whether that
inode is a directory or not?  The definition of struct inode suggests
that it's possible, but I can't find a man entry that says how.

If it matters, this would be for SunOS 3.x and Ultrix 2.x

Thanks,
Mike Khaw
-- 
internet: mkhaw at teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|ames|hplabs}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303



More information about the Comp.unix.wizards mailing list