This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: file
- To: "Todd Goodman" <tsg1 at earthlink dot net>
- Subject: Re: file
- From: "Marty Leisner" <leisner at rochester dot rr dot com>
- Date: Tue, 03 Nov 1998 00:23:01 -0500
- cc: "Corinna Vinschen" <corinna dot vinschen at cityweb dot de>, "Leif Jackson" <leif at islenet dot org>, gnu-win32 at cygnus dot com
- Reply-to: leisner at rochester dot rr dot com
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".