summaryrefslogtreecommitdiff
path: root/ldso/ldso/x86_64/dl-syscalls.h
blob: a97ff562c657f9b09642a3d18196d9bc12436ecc (plain)
1
2
3
4
5
6
7
/* 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"

#define MMAP_HAS_6_ARGS