delorie.com/archives/browse.cgi | search |
> Date: Sat, 8 Mar 2003 17:47:06 -0500 > From: DJ Delorie <dj AT delorie DOT com> > > > > Do we have any other call that looks at just the "is a device" bit > > > in that dos call? > > > > `stat'/`fstat' return a character-device bit set for devices. (I > > assume you were asking about Posix way of getting at that.) > > No, I was asking about a djgpp-specific call that we could use in > pwrite(). I'm not sure we have, but it should be easy to add one. _get_dev_info returns the device info word from 21/4000.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |