summaryrefslogtreecommitdiff
path: root/ldso/ldso/x86_64/dl-syscalls.h
blob: dc0cc6164c2ac6113005cf7c7022c5f69e036270 (plain)
1
2
3
4
5
/* We can't use the real errno in ldso, since it has not yet
 * been dynamicly linked in yet. */
extern int _dl_errno;
#define __set_errno(X) {(_dl_errno) = (X);}
#include "sys/syscall.h"