Changeset View
Changeset View
Standalone View
Standalone View
head/lib/libc/amd64/sys/cerror.S
Show All 33 Lines | #if defined(SYSLIBC_SCCS) && !defined(lint) | ||||
.asciz "@(#)cerror.s 5.1 (Berkeley) 4/23/90" | .asciz "@(#)cerror.s 5.1 (Berkeley) 4/23/90" | ||||
#endif /* SYSLIBC_SCCS and not lint */ | #endif /* SYSLIBC_SCCS and not lint */ | ||||
#include <machine/asm.h> | #include <machine/asm.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include "SYS.h" | #include "SYS.h" | ||||
.globl HIDENAME(cerror) | .globl HIDENAME(cerror) | ||||
.hidden HIDENAME(cerror) | |||||
/* | /* | ||||
* The __error() function is thread aware. For non-threaded | * The __error() function is thread aware. For non-threaded | ||||
* programs and the initial threaded in threaded programs, | * programs and the initial threaded in threaded programs, | ||||
* it returns a pointer to the global errno variable. | * it returns a pointer to the global errno variable. | ||||
*/ | */ | ||||
.globl CNAME(__error) | .globl CNAME(__error) | ||||
.type CNAME(__error),@function | .type CNAME(__error),@function | ||||
Show All 10 Lines |