How to get device information from a file descriptor ?
Tom Christiansen
tchrist at convex.COM
Tue Jun 4 23:23:36 AEST 1991
>From the keyboard of Ninane at fynu.ucl.ac.be (Alain Ninane - FYNU):
:Dear all of you,
:Given a valid file descriptor [from an open(2) call], is there a
:standard way to know whether or not this fd points to a specific
:special file/device (major number only) ?
man 2 fstat
--tom
--
Tom Christiansen tchrist at convex.com convex!tchrist
"Perl is to sed as C is to assembly language." -me
More information about the Comp.unix.ultrix
mailing list