| delorie.com/archives/browse.cgi | search |
> Date: Sun, 09 Mar 2003 12:46:32 +0000
> From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
>
> DJ Delorie wrote:
> >
> > > _get_dev_info returns the device info word from 21/4400.
> >
> > That would be sufficient:
> >
> > if (__get_dev_info(fd) & 0x80) {
> > ...
> > }
>
> Let's switch to using the constants from <libc/getdinfo.h>:
Yes, that's better.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |