Subject: Re: file
From: [email-masked] (Marty Leisner)

3 Nov 1998 15:29:40 -0800
Message-ID: <[email-masked]>
References: <000001be05f3$e12bf9e0$b0482499@tgoodman8>
Reply-To: [email-masked]
To: "Todd Goodman" <[email-masked]>
Cc: "Corinna Vinschen" <[email-masked]>,
        "Leif Jackson" <[email-masked]>, [email-masked]

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
"[email-masked]" with one line of text: "help".