Meaty Skeleton: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
Line 186: Line 186:
from <tt>sys/stat.h</tt> would be in <tt>libc/sys/stat/stat.c</tt>.
from <tt>sys/stat.h</tt> would be in <tt>libc/sys/stat/stat.c</tt>.


The standard headers uses a BSD-like scheme where <tt>sys/cdefs.h</tt> declares
The standard headers use a BSD-like scheme where <tt>sys/cdefs.h</tt> declares
a bunch of useful preprocessor macros meant for internal use by the standard
a bunch of useful preprocessor macros meant for internal use by the standard
library. For instance, all the function prototypes are wrapped in
library. For instance, all the function prototypes are wrapped in