patch #2 to add pointer to errno in TCB (Re: The time has come for a kernel interfacing library layer)

Jeffrey Hsu hsu at dragonflybsd.org
Tue May 10 07:58:26 PDT 2005


3237.GB907 at xxxxxxxxxx>
In-Reply-To: <20050510103237.GB907 at xxxxxxxxxx>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Lines: 6
NNTP-Posting-Host: 67.121.95.176
X-Trace: 1115736999 crater_reader.dragonflybsd.org 720 67.121.95.176
Xref: crater_reader.dragonflybsd.org dragonfly.kernel:8402


>>Why not move __offsetof() from machine/stdint.h to sys/cdefs.h and
>>resurrect `#if 0' code in tls.h

Does the gcc extension, __builtin_offsetof, work any better in this
context?





More information about the Kernel mailing list