Changeset View
Changeset View
Standalone View
Standalone View
lib/libc/sys/__error.c
Show All 28 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
*/ | */ | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include "libc_private.h" | #include "libc_private.h" | ||||
int *__error(void); | |||||
extern int errno; | extern int errno; | ||||
static int * | static int * | ||||
__error_unthreaded(void) | __error_unthreaded(void) | ||||
{ | { | ||||
return (&errno); | return (&errno); | ||||
} | } | ||||
Show All 16 Lines |