file

Marty Leisner leisner@rochester.rr.com
Mon Nov 2 21:23:00 GMT 1998


Wouldn't it be better to have a file
sys/sysmacros.h and have it in:

#ifndef _SYS_SYSMACROS_H
#define _SYS_SYSMACROS_H

#define major(dev) (((unsigned) (dev))>>8)
#define minor(dev) ((dev)&0xff)
#define makedev(major,minor) (((major)<<8)|(minor))

#endif

(I got this from linux)

Marty Leisner


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".



More information about the Cygwin mailing list