[lsb-discuss] Inclusion of makedev() and related functions

Craig Scott craig.scott at csiro.au
Sat Jan 1 13:56:01 PST 2011


On Fedora and SuSE the inlines are in sys/sysmacros.h and that header basically contains just these macros and inlines that I'm talking about. I've attached the file from Fedora 14 to this email.





On Sun, 2 Jan 2011 1:43:55 am Wichmann, Mats D wrote:
> lsb-discuss-bounces at lists.linux-foundation.org wrote:
> > Hi all. Has there been any recent discussion around including
> > the makedev() macro and its associated functions in LSB?
> 
> not recent, no.
> 
> I don't remember what the reason was for exclusion,
> but there used to be a tendency to leave out gnu-specifc
> functions (in case somebody wanted to look at an LSB
> system with a libc that wasn't glibc, probably a fiction
> at this point) and overly Linux specific ones - which 
> I think major/minor/makedev are not, I think they're BSD-isms.
> 
> I'm digging in glibc sources and not seeing these
> inlines - must just be missing, can you share?
> 

-- 
Dr Craig Scott
Computational Software Engineering Team Leader, CSIRO (CMIS)
Melbourne, Australia
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysmacros.h
Type: text/x-chdr
Size: 2468 bytes
Desc: not available
Url : http://lists.linux-foundation.org/pipermail/lsb-discuss/attachments/20110102/e937eb56/attachment.h 


More information about the lsb-discuss mailing list