delorie.com/archives/browse.cgi | search |
From: | leisner AT rochester DOT rr DOT com (Marty Leisner) |
Subject: | Re: file |
3 Nov 1998 15:29:40 -0800 : | |
Message-ID: | <199811030523.AAA02664.cygnus.gnu-win32@rochester.rr.com> |
References: | <000001be05f3$e12bf9e0$b0482499 AT tgoodman8> |
Reply-To: | leisner AT rochester DOT rr DOT com |
To: | "Todd Goodman" <tsg1 AT earthlink DOT net> |
Cc: | "Corinna Vinschen" <corinna DOT vinschen AT cityweb DOT de>, |
"Leif Jackson" <leif AT islenet DOT org>, gnu-win32 AT cygnus 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 AT cygnus DOT com" with one line of text: "help".
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |