Article View: comp.windows.interviews
Article #1348Re: 3.1 is now available
From: Helmut Muelner
Date: Wed, 16 Dec 1992 17:04
Date: Wed, 16 Dec 1992 17:04
24 lines
1522 bytes
1522 bytes
->BTW, could any C/C++ guru be kind enough to let me know whether "major" and
->"minor" are undocumented reserved words.
In Ultrix (4.2) there are the following macro definitions in sys/types.h:
/*
* Basic system types and major/minor device constructing/busting macros.
*/
/* major part of a device */
#define major(x) ((int)(((unsigned)(x)>>8)&0377))
/* minor part of a device */
#define minor(x) ((int)((x)&0377))
I remember changing this variable names in iv 3.0, but I forgot to post
an error report.
--
--
"I make no mistakes, Helmut Muelner Tp., I.P.,
only experiences." M\"ulner S.B., P.B,
Mülner m.l., H.D.,
M\x0FClner T.S., G.L.
hmuelner@iicm.tu-graz.ac.at (use (your) finger)
Technical Details
Message-ID:
<HMUELNER.92Dec16170406@neptun.tu-graz.ac.at>Path:
arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!news.tu-graz.ac.at!iicm.tu-graz.ac.at!hmuelnerReferences:
<9212161929.AA20677@hkueee.hku.hk>Show Full Headers
Complete Article Headers
Newsgroups: comp.windows.interviews Path: arc1-ca.pugleaf.net!sparky!uunet!news.univie.ac.at!news.tu-graz.ac.at!iicm.tu-graz.ac.at!hmuelner From: hmuelner@iicm.tu-graz.ac.at (Helmut Muelner) Subject: Re: 3.1 is now available In-Reply-To: leo%hkueee.hku.hk@FORSYTHE.STANFORD.EDU's message of Wed, 16 Dec 1992 19:29:42 GMT Message-ID: <HMUELNER.92Dec16170406@neptun.tu-graz.ac.at> Sender: news@news.tu-graz.ac.at (USENET News System) Nntp-Posting-Host: fiicmds03 Organization: IICM, Graz University of Technology, Austria References: <9212161929.AA20677@hkueee.hku.hk> Date: 16 Dec 92 17:04:06 Lines: 25