3 * (C) Copyright Dec 20 1998, Edmond J. Breen.
5 * This code may be copied for personal, non-profit use only.
14 #include "stdliblocal.h"
17 val_t _get_errno(void)
21 * This function exists so that EiC can get the address
26 v.p.sp = v.p.p = &errno;
27 v.p.ep = (void *) ( ((char *) v.p.p) + sizeof( errno ) );
34 /*************************************/
41 EiC_add_builtinfunc("_get_errno",_get_errno);