data_type large_stringclasses 3
values | source large_stringclasses 29
values | code large_stringlengths 98 49.4M | filepath large_stringlengths 5 161 ⌀ | message large_stringclasses 234
values | commit large_stringclasses 234
values | subject large_stringclasses 418
values | critique large_stringlengths 101 1.26M ⌀ | metadata dict |
|---|---|---|---|---|---|---|---|---|
source | musl | struct stat {
dev_t st_dev;
long __pad1[2];
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
long __pad2[2];
off_t st_size;
struct {
long tv_sec;
long tv_nsec;
} __st_atim32, __st_mtim32, __st_ctim32;
blksize_t st_blksize;
long __pad3;
blkcnt_t st_blocks;
st... | arch/mipsn32/bits/stat.h | null | null | null | null | null |
source | musl | #define a_cas a_cas
static inline int a_cas(volatile int *p, int t, int s)
{
__asm__("1: l.lwa %0, %1\n"
" l.sfeq %0, %2\n"
" l.bnf 1f\n"
" l.nop\n"
" l.swa %1, %3\n"
" l.bnf 1b\n"
" l.nop\n"
"1: \n"
: "=&r"(t), "+m"(*p) : "r"(t), "r"(s) : "cc", "memory" );
return t;
} | arch/or1k/atomic_arch.h | null | null | null | null | null |
source | musl | __asm__(
".text \n"
".global " START " \n"
".align 4 \n"
START ": \n"
" l.jal 1f \n"
" l.ori r3, r1, 0 \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
" .word _DYNAMIC-. \n"
"1: l.lwz r4, 0(r9) \n"
" l.add r4, r4, r9 \n"
" l.addi r2, r0, -8 \n"
" l.and r1, r1, r2 \n"
" l.addi r1, r1, -16 \n"
" l.jal " START "_c \n"
" ... | arch/or1k/crt_arch.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
#ifdef __clang__
uintptr_t tp;
__asm__ ("l.ori %0, r10, 0" : "=r" (tp) );
#else
register uintptr_t tp __asm__("r10");
__asm__ ("" : "=r" (tp) );
#endif
return tp;
}
#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 0
#define MC_PC regs.pc | arch/or1k/pthread_arch.h | null | null | null | null | null |
source | musl | #define LDSO_ARCH "or1k"
#define TPOFF_K 0
#define REL_SYMBOLIC R_OR1K_32
#define REL_GOT R_OR1K_GLOB_DAT
#define REL_PLT R_OR1K_JMP_SLOT
#define REL_RELATIVE R_OR1K_RELATIVE
#define REL_COPY R_OR1K_COPY
#define REL_DTPMOD R_OR1K_TLS_DTPMOD
#define REL_DTPOFF R_OR1K_TLS_DTPOFF
#... | arch/or1k/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) \
((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))
#define SYSCALL_MMAP2_UNIT 8192ULL
static __inline long __syscall0(long n)
{
register unsigned long r11 __asm__("r11") = n;
__asm... | arch/or1k/syscall_arch.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef ... | arch/or1k/bits/signal.h | null | null | null | null | null |
source | musl | __asm__(
".text \n"
".global " START " \n"
".type " START ", %function \n"
START ": \n"
" bl 1f \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
" .long _DYNAMIC-. \n"
"1: mflr 4 \n"
" lwz 3, 0(4) \n"
" add 4, 3, 4 \n"
" mr 3, 1 \n"
" clrrwi 1, 1, 4 \n"
" li 0, 0 \n"
" stwu 1, -16(1) \n"
" mtlr 0 \n"
" stw 0, 0(1) \n"
"... | arch/powerpc/crt_arch.h | null | null | null | null | null |
source | musl | struct kstat {
dev_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
short __st_rdev_padding;
off_t st_size;
blksize_t st_blksize;
blkcnt_t st_blocks;
long st_atime_sec;
long st_atime_nsec;
long st_mtime_sec;
long st_mtime_nsec;
long st_ctime_sec;
long... | arch/powerpc/kstat.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
register uintptr_t tp __asm__("r2");
__asm__ ("" : "=r" (tp) );
return tp;
}
#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 0
#define TP_OFFSET 0x7000
#define DTP_OFFSET 0x8000
// the kernel calls the ip "nip", it's the first saved value after the 32
// GPRs... | arch/powerpc/pthread_arch.h | null | null | null | null | null |
source | musl | #if defined(_SOFT_FLOAT) || defined(__NO_FPRS__)
#define FP_SUFFIX "-sf"
#else
#define FP_SUFFIX ""
#endif
#define LDSO_ARCH "powerpc" FP_SUFFIX
#define TPOFF_K (-0x7000)
#define REL_SYMBOLIC R_PPC_ADDR32
#define REL_USYMBOLIC R_PPC_UADDR32
#define REL_GOT R_PPC_GLOB_DAT
#define REL_PLT R_PPC_JM... | arch/powerpc/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) \
((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) 0, __SYSCALL_LL_E((x))
static inline long __syscall0(long n)
{
register long r0 __asm__("r0") = n;
register long r3 __asm__("r3");
__asm__ __volatile... | arch/powerpc/syscall_arch.h | null | null | null | null | null |
source | musl | #define EPERM 1
#define ENOENT 2
#define ESRCH 3
#define EINTR 4
#define EIO 5
#define ENXIO 6
#define E2BIG 7
#define ENOEXEC 8
#define EBADF 9
#define ECHILD 10
#define EAGAIN 11
#define ENOMEM ... | arch/powerpc/bits/errno.h | null | null | null | null | null |
source | musl | #define O_CREAT 0100
#define O_EXCL 0200
#define O_NOCTTY 0400
#define O_TRUNC 01000
#define O_APPEND 02000
#define O_NONBLOCK 04000
#define O_DSYNC 010000
#define O_SYNC 04010000
#define O_RSYNC 04010000
#define O_DIRECTORY 040000
#define O_NOFOLLOW 0100000
#define O_CL... | arch/powerpc/bits/fcntl.h | null | null | null | null | null |
source | musl | #if defined(_SOFT_FLOAT) || defined(__NO_FPRS__)
#define FE_ALL_EXCEPT 0
#define FE_TONEAREST 0
#else
#define FE_TONEAREST 0
#define FE_TOWARDZERO 1
#define FE_UPWARD 2
#define FE_DOWNWARD 3
#define FE_INEXACT 0x02000000
#define FE_DIVBYZERO 0x04000000
#define FE_UNDERFLOW 0x08000000
#define FE_OVERFLOW 0x10000000
#d... | arch/powerpc/bits/fenv.h | null | null | null | null | null |
source | musl | #define PPC_FEATURE_32 0x80000000
#define PPC_FEATURE_64 0x40000000
#define PPC_FEATURE_601_INSTR 0x20000000
#define PPC_FEATURE_HAS_ALTIVEC 0x10000000
#define PPC_FEATURE_HAS_FPU 0x08000000
#define PPC_FEATURE_HAS_MMU 0x04000000
#define PPC_FEATURE_HAS_4xxMAC 0x02000000
#define PPC_FEATURE_UNIFIED_CACHE 0x010... | arch/powerpc/bits/hwcap.h | null | null | null | null | null |
source | musl | #define _IOC(a,b,c,d) ( ((a)<<29) | ((b)<<8) | (c) | ((d)<<16) )
#define _IOC_NONE 1U
#define _IOC_WRITE 4U
#define _IOC_READ 2U
#define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0)
#define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c))
#define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c))
#define _IOWR(a,b,c) _IOC(_IOC_READ|... | arch/powerpc/bits/ioctl.h | null | null | null | null | null |
source | musl | struct ipc_perm {
key_t __ipc_perm_key;
uid_t uid;
gid_t gid;
uid_t cuid;
gid_t cgid;
mode_t mode;
int __ipc_perm_seq;
int __pad1;
long long __pad2;
long long __pad3;
}; | arch/powerpc/bits/ipc.h | null | null | null | null | null |
source | musl | #define PROT_SAO 0x10
#undef MAP_NORESERVE
#define MAP_NORESERVE 0x40
#undef MAP_LOCKED
#define MAP_LOCKED 0x80
#undef MCL_CURRENT
#define MCL_CURRENT 0x2000
#undef MCL_FUTURE
#define MCL_FUTURE 0x4000
#undef MCL_ONFAULT
#define MCL_ONFAULT 0x8000 | arch/powerpc/bits/mman.h | null | null | null | null | null |
source | musl | struct msqid_ds {
struct ipc_perm msg_perm;
unsigned long __msg_stime_hi;
unsigned long __msg_stime_lo;
unsigned long __msg_rtime_hi;
unsigned long __msg_rtime_lo;
unsigned long __msg_ctime_hi;
unsigned long __msg_ctime_lo;
unsigned long msg_cbytes;
msgqnum_t msg_qnum;
msglen_t msg_qbytes;
pid_t msg_lspid;
... | arch/powerpc/bits/msg.h | null | null | null | null | null |
source | musl | #define PTRACE_GETVRREGS 0x12
#define PTRACE_SETVRREGS 0x13
#define PTRACE_GETEVRREGS 0x14
#define PTRACE_SETEVRREGS 0x15
#define PTRACE_GETREGS64 0x16
#define PTRACE_SETREGS64 0x17
#define PTRACE_GET_DEBUGREG 0x19
#define PTRACE_SET_DEBUGREG 0x1a
#define PTRACE_GETVSRREGS 0x1b
#define PTRACE_SETVSRREGS 0x1c
#define PT... | arch/powerpc/bits/ptrace.h | null | null | null | null | null |
source | musl | struct semid_ds {
struct ipc_perm sem_perm;
unsigned long __sem_otime_hi;
unsigned long __sem_otime_lo;
unsigned long __sem_ctime_hi;
unsigned long __sem_ctime_lo;
unsigned short __sem_nsems_pad, sem_nsems;
long __unused3;
long __unused4;
time_t sem_otime;
time_t sem_ctime;
}; | arch/powerpc/bits/sem.h | null | null | null | null | null |
source | musl | #define SHMLBA 4096
struct shmid_ds {
struct ipc_perm shm_perm;
unsigned long __shm_atime_hi;
unsigned long __shm_atime_lo;
unsigned long __shm_dtime_hi;
unsigned long __shm_dtime_lo;
unsigned long __shm_ctime_hi;
unsigned long __shm_ctime_lo;
unsigned long __pad1;
size_t shm_segsz;
pid_t shm_cpid;
pid_t sh... | arch/powerpc/bits/shm.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MINSIGSTKSZ 4096
#define SIGSTKSZ 10240
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typede... | arch/powerpc/bits/signal.h | null | null | null | null | null |
source | musl | #define SO_DEBUG 1
#define SO_REUSEADDR 2
#define SO_TYPE 3
#define SO_ERROR 4
#define SO_DONTROUTE 5
#define SO_BROADCAST 6
#define SO_SNDBUF 7
#define SO_RCVBUF 8
#define SO_KEEPALIVE 9
#define SO_OOBINLINE 10
#define SO_NO_CHECK 11
#define SO_PRIORITY 12
#defi... | arch/powerpc/bits/socket.h | null | null | null | null | null |
source | musl | /* copied from kernel definition, but with padding replaced
* by the corresponding correctly-sized userspace types. */
struct stat {
dev_t st_dev;
ino_t st_ino;
mode_t st_mode;
nlink_t st_nlink;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
short __st_rdev_padding;
off_t st_size;
blksize_t st_blksize;
blkcnt_... | arch/powerpc/bits/stat.h | null | null | null | null | null |
source | musl | #undef NCCS
#define NCCS 19
struct termios {
tcflag_t c_iflag;
tcflag_t c_oflag;
tcflag_t c_cflag;
tcflag_t c_lflag;
cc_t c_cc[NCCS];
cc_t c_line;
speed_t __c_ispeed;
speed_t __c_ospeed;
};
#define VINTR 0
#define VQUIT 1
#define VERASE 2
#define VKILL 3
#define VEOF 4
#define VMIN 5
#... | arch/powerpc/bits/termios.h | null | null | null | null | null |
source | musl | struct user {
struct {
unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, mq;
unsigned long trap, dar, dsisr, result;
} regs;
unsigned long u_tsize, u_dsize, u_ssize;
unsigned long start_code, start_data, start_stack;
long signal;
void *u_ar0;
unsigned long magic;
char u_comm[32];
};
#define ... | arch/powerpc/bits/user.h | null | null | null | null | null |
source | musl | #define a_ll a_ll
static inline int a_ll(volatile int *p)
{
int v;
__asm__ __volatile__ ("lwarx %0, 0, %2" : "=r"(v) : "m"(*p), "r"(p));
return v;
}
#define a_sc a_sc
static inline int a_sc(volatile int *p, int v)
{
int r;
__asm__ __volatile__ (
"stwcx. %2, 0, %3 ; mfcr %0"
: "=r"(r), "=m"(*p) : "r"(v), "r"(p... | arch/powerpc64/atomic_arch.h | null | null | null | null | null |
source | musl | __asm__(
".text \n"
".global " START " \n"
".type " START ", %function \n"
START ": \n"
" addis 2, 12, .TOC.-" START "@ha \n"
" addi 2, 2, .TOC.-" START "@l \n"
" lwz 4, 1f-" START "(12)\n"
" add 4, 4, 12 \n"
" mr 3, 1 \n"
" clrrdi 1, 1, 4 \n"
" li 0, 0 \n"
" stdu 0, -32(1) \n"
" mtlr 0 \n"
" bl... | arch/powerpc64/crt_arch.h | null | null | null | null | null |
source | musl | struct kstat {
dev_t st_dev;
ino_t st_ino;
nlink_t st_nlink;
mode_t st_mode;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
off_t st_size;
blksize_t st_blksize;
blkcnt_t st_blocks;
long st_atime_sec;
long st_atime_nsec;
long st_mtime_sec;
long st_mtime_nsec;
long st_ctime_sec;
long st_ctime_nsec;
unsigned ... | arch/powerpc64/kstat.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
register uintptr_t tp __asm__("r13");
__asm__ ("" : "=r" (tp) );
return tp;
}
#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 0
#define TP_OFFSET 0x7000
#define DTP_OFFSET 0x8000
// the kernel calls the ip "nip", it's the first saved value after the 32
// GPRs.
#define MC_PC gp_regs... | arch/powerpc64/pthread_arch.h | null | null | null | null | null |
source | musl | #if __BYTE_ORDER == __LITTLE_ENDIAN
#define ENDIAN_SUFFIX "le"
#else
#define ENDIAN_SUFFIX ""
#endif
#define LDSO_ARCH "powerpc64" ENDIAN_SUFFIX
#define TPOFF_K (-0x7000)
#define REL_SYMBOLIC R_PPC64_ADDR64
#define REL_USYMBOLIC R_PPC64_UADDR64
#define REL_GOT R_PPC64_GLOB_DAT
#define REL_PLT R_... | arch/powerpc64/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) (x)
#define __SYSCALL_LL_O(x) (x)
static inline long __syscall0(long n)
{
register long r0 __asm__("r0") = n;
register long r3 __asm__("r3");
__asm__ __volatile__("sc ; bns+ 1f ; neg %1, %1 ; 1:"
: "+r"(r0), "=r"(r3)
:: "memory", "cr0", "r4", "r5", "r6", "r7", "r8", "r9", "r10", "r11", "... | arch/powerpc64/syscall_arch.h | null | null | null | null | null |
source | musl | #define O_CREAT 0100
#define O_EXCL 0200
#define O_NOCTTY 0400
#define O_TRUNC 01000
#define O_APPEND 02000
#define O_NONBLOCK 04000
#define O_DSYNC 010000
#define O_SYNC 04010000
#define O_RSYNC 04010000
#define O_DIRECTORY 040000
#define O_NOFOLLOW 0100000
#define O_CL... | arch/powerpc64/bits/fcntl.h | null | null | null | null | null |
source | musl | #define FE_TONEAREST 0
#define FE_TOWARDZERO 1
#define FE_UPWARD 2
#define FE_DOWNWARD 3
#define FE_INEXACT 0x02000000
#define FE_DIVBYZERO 0x04000000
#define FE_UNDERFLOW 0x08000000
#define FE_OVERFLOW 0x10000000
#define FE_INVALID 0x20000000
#define FE_ALL_EXCEPT 0x3e000000
#ifdef _GNU_SOURCE
#define FE_INVALID_SN... | arch/powerpc64/bits/fenv.h | null | null | null | null | null |
source | musl | #define _IOC(a,b,c,d) ( ((a)<<29) | ((b)<<8) | (c) | ((d)<<16) )
#define _IOC_NONE 1U
#define _IOC_WRITE 4U
#define _IOC_READ 2U
#define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0)
#define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c))
#define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c))
#define _IOWR(a,b,c) _IOC(_IOC_READ|... | arch/powerpc64/bits/ioctl.h | null | null | null | null | null |
source | musl | #define SHMLBA 4096
struct shmid_ds {
struct ipc_perm shm_perm;
time_t shm_atime;
time_t shm_dtime;
time_t shm_ctime;
size_t shm_segsz;
pid_t shm_cpid;
pid_t shm_lpid;
unsigned long shm_nattch;
unsigned long __unused[2];
};
struct shminfo {
unsigned long shmmax, shmmin, shmmni, shmseg, shmall, __unused[4];
... | arch/powerpc64/bits/shm.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MINSIGSTKSZ 4096
#define SIGSTKSZ 10240
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typ... | arch/powerpc64/bits/signal.h | null | null | null | null | null |
source | musl | #define SO_DEBUG 1
#define SO_REUSEADDR 2
#define SO_TYPE 3
#define SO_ERROR 4
#define SO_DONTROUTE 5
#define SO_BROADCAST 6
#define SO_SNDBUF 7
#define SO_RCVBUF 8
#define SO_KEEPALIVE 9
#define SO_OOBINLINE 10
#define SO_NO_CHECK 11
#define SO_PRIORITY 12
#defi... | arch/powerpc64/bits/socket.h | null | null | null | null | null |
source | musl | struct stat {
dev_t st_dev;
ino_t st_ino;
nlink_t st_nlink;
mode_t st_mode;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
off_t st_size;
blksize_t st_blksize;
blkcnt_t st_blocks;
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
unsigned long __unused[3];
}; | arch/powerpc64/bits/stat.h | null | null | null | null | null |
source | musl | struct user {
struct {
unsigned long gpr[32], nip, msr, orig_gpr3, ctr, link, xer, ccr, softe;
unsigned long trap, dar, dsisr, result;
} regs;
unsigned long u_tsize, u_dsize, u_ssize;
unsigned long start_code, start_data, start_stack;
long signal;
void *u_ar0;
unsigned long magic;
char u_comm[32];
};
#defi... | arch/powerpc64/bits/user.h | null | null | null | null | null |
source | musl | #define a_barrier a_barrier
static inline void a_barrier()
{
__asm__ __volatile__ ("fence rw,rw" : : : "memory");
}
#define a_cas a_cas
static inline int a_cas(volatile int *p, int t, int s)
{
int old, tmp;
__asm__ __volatile__ (
"\n1: lr.w.aqrl %0, (%2)\n"
" bne %0, %3, 1f\n"
" sc.w.aqrl %1, %4, (%2)\n"
" ... | arch/riscv32/atomic_arch.h | null | null | null | null | null |
source | musl | __asm__(
".section .sdata,\"aw\"\n"
".text\n"
".global " START "\n"
".type " START ",%function\n"
START ":\n"
".weak __global_pointer$\n"
".hidden __global_pointer$\n"
".option push\n"
".option norelax\n\t"
"lla gp, __global_pointer$\n"
".option pop\n\t"
"mv a0, sp\n"
".weak _DYNAMIC\n"
".hidden _DYNAMIC\n\t"
"lla a1, ... | arch/riscv32/crt_arch.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
uintptr_t tp;
__asm__ __volatile__("mv %0, tp" : "=r"(tp));
return tp;
}
#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 0
#define DTP_OFFSET 0x800
#define MC_PC __gregs[0] | arch/riscv32/pthread_arch.h | null | null | null | null | null |
source | musl | #if defined __riscv_float_abi_soft
#define RISCV_FP_SUFFIX "-sf"
#elif defined __riscv_float_abi_single
#define RISCV_FP_SUFFIX "-sp"
#elif defined __riscv_float_abi_double
#define RISCV_FP_SUFFIX ""
#endif
#define LDSO_ARCH "riscv32" RISCV_FP_SUFFIX
#define TPOFF_K 0
#define REL_SYMBOLIC R_RISCV_32
#define REL_P... | arch/riscv32/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) \
((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))
#define __asm_syscall(...) \
__asm__ __volatile__ ("ecall\n\t" \
: "=r"(a0) : __VA_ARGS__ : "memory"); \
return a0; \
static inl... | arch/riscv32/syscall_arch.h | null | null | null | null | null |
source | musl | #define FE_INVALID 16
#define FE_DIVBYZERO 8
#define FE_OVERFLOW 4
#define FE_UNDERFLOW 2
#define FE_INEXACT 1
#define FE_ALL_EXCEPT 31
#define FE_TONEAREST 0
#define FE_DOWNWARD 2
#define FE_UPWARD 3
#define FE_TOWARDZERO 1
typedef unsigned int fexcept_t;
typedef unsigned int fe... | arch/riscv32/bits/fenv.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
# define MINSIGSTKSZ 2048
# define SIGSTKSZ 8192
#endif
typedef unsigned long __riscv_mc_gp_state[32];
struct ... | arch/riscv32/bits/signal.h | null | null | null | null | null |
source | musl | #include <signal.h>
#define ELF_NGREG 32
#define ELF_NFPREG 33
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
typedef union __riscv_mc_fp_state elf_fpregset_t; | arch/riscv32/bits/user.h | null | null | null | null | null |
source | musl | #if defined __riscv_float_abi_soft
#define RISCV_FP_SUFFIX "-sf"
#elif defined __riscv_float_abi_single
#define RISCV_FP_SUFFIX "-sp"
#elif defined __riscv_float_abi_double
#define RISCV_FP_SUFFIX ""
#endif
#define LDSO_ARCH "riscv64" RISCV_FP_SUFFIX
#define TPOFF_K 0
#define REL_SYMBOLIC R_RISCV_64
#define REL_P... | arch/riscv64/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) (x)
#define __SYSCALL_LL_O(x) (x)
#define __asm_syscall(...) \
__asm__ __volatile__ ("ecall\n\t" \
: "=r"(a0) : __VA_ARGS__ : "memory"); \
return a0; \
static inline long __syscall0(long n)
{
register long a7 __asm__("a7") = n;
register long a0 __asm__("a0");
__asm_syscall("r"(a7))
}
... | arch/riscv64/syscall_arch.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
# define MINSIGSTKSZ 2048
# define SIGSTKSZ 8192
#endif
typedef unsigned long __riscv_mc_gp_state[32];
struct ... | arch/riscv64/bits/signal.h | null | null | null | null | null |
source | musl | #define a_cas a_cas
static inline int a_cas(volatile int *p, int t, int s)
{
__asm__ __volatile__ (
"cs %0, %2, %1"
: "+d"(t), "+Q"(*p) : "d"(s) : "memory", "cc");
return t;
}
#define a_cas_p a_cas_p
static inline void *a_cas_p(volatile void *p, void *t, void *s)
{
__asm__ __volatile__ (
"csg %0, %2, %1"
: ... | arch/s390x/atomic_arch.h | null | null | null | null | null |
source | musl | __asm__(
".text\n"
".global " START "\n"
".type " START ", %function\n"
START ":\n"
" lgr %r2, %r15\n"
" larl %r3, 1f\n"
" agf %r3, 0(%r3)\n"
" aghi %r15, -160\n"
" lghi %r0, 0\n"
" stg %r0, 0(%r15)\n"
" jg " START "_c\n"
" .align 8\n"
".weak _DYNAMIC\n"
".hidden _DYNAMIC\n"
"1: .long _DYNAMIC-.\n"
); | arch/s390x/crt_arch.h | null | null | null | null | null |
source | musl | struct kstat {
dev_t st_dev;
ino_t st_ino;
nlink_t st_nlink;
mode_t st_mode;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
off_t st_size;
long st_atime_sec;
long st_atime_nsec;
long st_mtime_sec;
long st_mtime_nsec;
long st_ctime_sec;
long st_ctime_nsec;
blksize_t st_blksize;
blkcnt_t st_blocks;
unsigned ... | arch/s390x/kstat.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
uintptr_t tp;
__asm__ (
"ear %0, %%a0\n"
"sllg %0, %0, 32\n"
"ear %0, %%a1\n"
: "=r"(tp));
return tp;
}
#define MC_PC psw.addr | arch/s390x/pthread_arch.h | null | null | null | null | null |
source | musl | #define LDSO_ARCH "s390x"
#define REL_SYMBOLIC R_390_64
#define REL_GOT R_390_GLOB_DAT
#define REL_PLT R_390_JMP_SLOT
#define REL_RELATIVE R_390_RELATIVE
#define REL_COPY R_390_COPY
#define REL_DTPMOD R_390_TLS_DTPMOD
#define REL_DTPOFF R_390_TLS_DTPOFF
#define REL_TPOFF R_... | arch/s390x/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) (x)
#define __SYSCALL_LL_O(x) (x)
#define __asm_syscall(ret, ...) do { \
__asm__ __volatile__ ("svc 0\n" \
: ret : __VA_ARGS__ : "memory"); \
return r2; \
} while (0)
static inline long __syscall0(long n)
{
register long r1 __asm__("r1") = n;
register long r2 __asm__("r2");
__asm_sysc... | arch/s390x/syscall_arch.h | null | null | null | null | null |
source | musl | #define O_CREAT 0100
#define O_EXCL 0200
#define O_NOCTTY 0400
#define O_TRUNC 01000
#define O_APPEND 02000
#define O_NONBLOCK 04000
#define O_DSYNC 010000
#define O_SYNC 04010000
#define O_RSYNC 04010000
#define O_DIRECTORY 0200000
#define O_NOFOLLOW 0400000
#define O_CL... | arch/s390x/bits/fcntl.h | null | null | null | null | null |
source | musl | #define FE_TONEAREST 0
#define FE_TOWARDZERO 1
#define FE_UPWARD 2
#define FE_DOWNWARD 3
#define FE_INEXACT 0x00080000
#define FE_UNDERFLOW 0x00100000
#define FE_OVERFLOW 0x00200000
#define FE_DIVBYZERO 0x00400000
#define FE_INVALID 0x00800000
#define FE_ALL_EXCEPT 0x00f80000
typedef unsigned fexcept_t;
typedef unsi... | arch/s390x/bits/fenv.h | null | null | null | null | null |
source | musl | #ifdef __FLT_EVAL_METHOD__
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
#else
#define FLT_EVAL_METHOD 0
#endif
#define LDBL_TRUE_MIN 6.47517511943802511092443895822764655e-4966L
#define LDBL_MIN 3.36210314311209350626267781732175260e-4932L
#define LDBL_MAX 1.18973149535723176508575932662800702e+4932L
#define LDBL_EPSIL... | arch/s390x/bits/float.h | null | null | null | null | null |
source | musl | #define HWCAP_S390_ESAN3 1
#define HWCAP_S390_ZARCH 2
#define HWCAP_S390_STFLE 4
#define HWCAP_S390_MSA 8
#define HWCAP_S390_LDISP 16
#define HWCAP_S390_EIMM 32
#define HWCAP_S390_DFP 64
#define HWCAP_S390_HPAGE 128
#define HWCAP_S390_ETF3EH 256
#define HWCAP_S390_HIGH_GPRS 512
#define HWCAP_S390_TE 1024
#define HW... | arch/s390x/bits/hwcap.h | null | null | null | null | null |
source | musl | #define PTRACE_SINGLEBLOCK 12
#define PTRACE_OLDSETOPTIONS 21
#define PTRACE_SYSEMU 31
#define PTRACE_SYSEMU_SINGLESTEP 32
#define PTRACE_PEEKUSR_AREA 0x5000
#define PTRACE_POKEUSR_AREA 0x5001
#define PTRACE_GET_LAST_BREAK 0x5006
#define PTRACE_ENABLE_TE 0x5009
#define PTRACE_DISABLE_TE 0x5010
#define PTRACE_T... | arch/s390x/bits/ptrace.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MINSIGSTKSZ 4096
#define SIGSTKSZ 10240
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typ... | arch/s390x/bits/signal.h | null | null | null | null | null |
source | musl | struct stat {
dev_t st_dev;
ino_t st_ino;
nlink_t st_nlink;
mode_t st_mode;
uid_t st_uid;
gid_t st_gid;
dev_t st_rdev;
off_t st_size;
struct timespec st_atim;
struct timespec st_mtim;
struct timespec st_ctim;
blksize_t st_blksize;
blkcnt_t st_blocks;
unsigned long __unused[3];
}; | arch/s390x/bits/stat.h | null | null | null | null | null |
source | musl | struct statfs {
unsigned f_type, f_bsize;
fsblkcnt_t f_blocks, f_bfree, f_bavail;
fsfilcnt_t f_files, f_ffree;
fsid_t f_fsid;
unsigned f_namelen, f_frsize, f_flags, f_spare[4];
}; | arch/s390x/bits/statfs.h | null | null | null | null | null |
source | musl | typedef union {
double d;
float f;
} elf_fpreg_t;
typedef struct {
unsigned fpc;
elf_fpreg_t fprs[16];
} elf_fpregset_t;
#define ELF_NGREG 27
typedef unsigned long elf_greg_t, elf_gregset_t[ELF_NGREG];
struct _user_psw_struct {
unsigned long mask, addr;
};
struct _user_fpregs_struct {
unsigned fpc;
double fp... | arch/s390x/bits/user.h | null | null | null | null | null |
source | musl | #include "libc.h"
#if defined(__SH4A__)
#define a_ll a_ll
static inline int a_ll(volatile int *p)
{
int v;
__asm__ __volatile__ ("movli.l @%1, %0" : "=z"(v) : "r"(p), "m"(*p));
return v;
}
#define a_sc a_sc
static inline int a_sc(volatile int *p, int v)
{
int r;
__asm__ __volatile__ (
"movco.l %2, @%3 ; movt ... | arch/sh/atomic_arch.h | null | null | null | null | null |
source | musl | #ifdef __SH_FDPIC__
__asm__(
".text \n"
".global " START " \n"
START ": \n"
" tst r8, r8 \n"
" bf 1f \n"
" mov #68, r3 \n"
" add r3, r3 \n"
" mov #8, r4 \n"
" swap.w r4, r4 \n"
" trapa #31 \n"
" nop \n"
" nop \n"
" nop \n"
" nop \n"
"1: nop \n"
#ifndef SHARED
" mov r8, r4 \n"
" mova 1f, r0 \n"
" mov.l 1f, r5 \n"
" mov... | arch/sh/crt_arch.h | null | null | null | null | null |
source | musl | #include <features.h>
struct k_sigaction {
void (*handler)(int);
unsigned long flags;
void *restorer;
unsigned mask[2];
};
extern hidden unsigned char __restore[], __restore_rt[]; | arch/sh/ksigaction.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
uintptr_t tp;
__asm__ ("stc gbr,%0" : "=r" (tp) );
return tp;
}
#define TLS_ABOVE_TP
#define GAP_ABOVE_TP 8
#define MC_PC pc
#ifdef __FDPIC__
#define MC_GOT gregs[12]
#define CANCEL_GOT (*(uintptr_t *)((char *)__syscall_cp_asm+sizeof(uintptr_t)))
#endif | arch/sh/pthread_arch.h | null | null | null | null | null |
source | musl | #if __BYTE_ORDER == __BIG_ENDIAN
#define ENDIAN_SUFFIX "eb"
#else
#define ENDIAN_SUFFIX ""
#endif
#if __SH_FPU_ANY__ || __SH4__
#define FP_SUFFIX ""
#else
#define FP_SUFFIX "-nofpu"
#endif
#if __SH_FDPIC__
#define ABI_SUFFIX "-fdpic"
#else
#define ABI_SUFFIX ""
#endif
#define LDSO_ARCH "sh" ENDIAN_SUFFIX FP_SUFFIX A... | arch/sh/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) \
((union { long long ll; long l[2]; }){ .ll = x }).l[0], \
((union { long long ll; long l[2]; }){ .ll = x }).l[1]
#define __SYSCALL_LL_O(x) __SYSCALL_LL_E((x))
#define __SYSCALL_LL_PRW(x) 0, __SYSCALL_LL_E((x))
/* The extra OR instructions are to work around a hardware bug:
* http://documen... | arch/sh/syscall_arch.h | null | null | null | null | null |
source | musl | #ifndef __SH_FPU_ANY__
#define FE_ALL_EXCEPT 0
#define FE_TONEAREST 0
#else
#define FE_TONEAREST 0
#define FE_TOWARDZERO 1
#define FE_INEXACT 0x04
#define FE_UNDERFLOW 0x08
#define FE_OVERFLOW 0x10
#define FE_DIVBYZERO 0x20
#define FE_INVALID 0x40
#define FE_ALL_EXCEPT 0x7c
#endif
typedef unsigned lon... | arch/sh/bits/fenv.h | null | null | null | null | null |
source | musl | #define CPU_HAS_FPU 0x0001
#define CPU_HAS_P2_FLUSH_BUG 0x0002
#define CPU_HAS_MMU_PAGE_ASSOC 0x0004
#define CPU_HAS_DSP 0x0008
#define CPU_HAS_PERF_COUNTER 0x0010
#define CPU_HAS_PTEA 0x0020
#define CPU_HAS_LLSC 0x0040
#define CPU_HAS_L2_CACHE 0x0080
#define CPU_HAS_OP32 0x0100
#define CPU_HAS_PTEAEX 0x0200
#def... | arch/sh/bits/hwcap.h | null | null | null | null | null |
source | musl | #define _IOC(a,b,c,d) ( ((a)<<30) | ((b)<<8) | (c) | ((d)<<16) )
#define _IOC_NONE 0U
#define _IOC_WRITE 1U
#define _IOC_READ 2U
#define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0)
#define _IOW(a,b,c) _IOC(_IOC_WRITE,(a),(b),sizeof(c))
#define _IOR(a,b,c) _IOC(_IOC_READ,(a),(b),sizeof(c))
#define _IOWR(a,b,c) _IOC(_IOC_READ|... | arch/sh/bits/ioctl.h | null | null | null | null | null |
source | musl | #define PTRACE_GETFDPIC 31
#define PTRACE_GETFDPIC_EXEC 0
#define PTRACE_GETFDPIC_INTERP 1
#define PTRACE_GETDSPREGS 55
#define PTRACE_SETDSPREGS 56 | arch/sh/bits/ptrace.h | null | null | null | null | null |
source | musl | #define SHMLBA 16384
struct shmid_ds {
struct ipc_perm shm_perm;
size_t shm_segsz;
unsigned long __shm_atime_lo;
unsigned long __shm_atime_hi;
unsigned long __shm_dtime_lo;
unsigned long __shm_dtime_hi;
unsigned long __shm_ctime_lo;
unsigned long __shm_ctime_hi;
pid_t shm_cpid;
pid_t shm_lpid;
unsigned long... | arch/sh/bits/shm.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192
#endif
#if defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
typedef ... | arch/sh/bits/signal.h | null | null | null | null | null |
source | musl | #define REG_REG0 0
#define REG_REG15 15
#define REG_PC 16
#define REG_PR 17
#define REG_SR 18
#define REG_GBR 19
#define REG_MACH 20
#define REG_MACL 21
#define REG_SYSCALL 22
#define REG_FPREG0 23
#define REG_FPREG15 38
#define REG_XFREG0 39
#define REG_XFREG15 54
#define REG_FPSCR 55
#define REG_FPUL 56
struct ... | arch/sh/bits/user.h | null | null | null | null | null |
source | musl | #define a_cas a_cas
static inline int a_cas(volatile int *p, int t, int s)
{
__asm__ __volatile__ (
"lock ; cmpxchg %3, %1"
: "=a"(t), "=m"(*p) : "a"(t), "r"(s) : "memory" );
return t;
}
#define a_swap a_swap
static inline int a_swap(volatile int *p, int v)
{
__asm__ __volatile__(
"xchg %0, %1"
: "=r"(v), "... | arch/x32/atomic_arch.h | null | null | null | null | null |
source | musl | __asm__(
".text \n"
".global " START " \n"
".type " START ",%function \n"
START ": \n"
" xor %rbp,%rbp \n"
" mov %rsp,%rdi \n"
".weak _DYNAMIC \n"
".hidden _DYNAMIC \n"
" lea _DYNAMIC(%rip),%rsi \n"
" andq $-16,%rsp \n"
" call " START "_c \n"
); | arch/x32/crt_arch.h | null | null | null | null | null |
source | musl | #include <features.h>
struct k_sigaction {
void (*handler)(int);
unsigned long flags;
void (*restorer)(void);
unsigned mask[2];
};
hidden void __restore_rt();
#define __restore __restore_rt | arch/x32/ksigaction.h | null | null | null | null | null |
source | musl | struct kstat {
dev_t st_dev;
ino_t st_ino;
nlink_t st_nlink;
mode_t st_mode;
uid_t st_uid;
gid_t st_gid;
unsigned int __pad0;
dev_t st_rdev;
off_t st_size;
blksize_t st_blksize;
blkcnt_t st_blocks;
long long st_atime_sec;
long st_atime_nsec;
long long st_mtime_sec;
long st_mtime_nsec;
long long st_... | arch/x32/kstat.h | null | null | null | null | null |
source | musl | static inline uintptr_t __get_tp()
{
uintptr_t tp;
__asm__ ("mov %%fs:0,%0" : "=r" (tp) );
return tp;
}
#define MC_PC gregs[REG_RIP]
#define CANARY_PAD
#define tls_mod_off_t unsigned long long | arch/x32/pthread_arch.h | null | null | null | null | null |
source | musl | #define LDSO_ARCH "x32"
/* FIXME: x32 is very strange in its use of 64-bit relocation types in
* a 32-bit environment. As long as the memory at reloc_addr is
* zero-filled prior to relocations, just treating 64-bit relocations
* as operating on 32-bit slots should be fine, but this should be
* checked. In particul... | arch/x32/reloc.h | null | null | null | null | null |
source | musl | #define __SYSCALL_LL_E(x) (x)
#define __SYSCALL_LL_O(x) (x)
#define __scc(X) sizeof(1?(X):0ULL) < 8 ? (unsigned long) (X) : (long long) (X)
typedef long long syscall_arg_t;
static __inline long __syscall0(long long n)
{
unsigned long ret;
__asm__ __volatile__ ("syscall" : "=a"(ret) : "a"(n) : "rcx", "r11", "memory"... | arch/x32/syscall_arch.h | null | null | null | null | null |
source | musl | #define O_CREAT 0100
#define O_EXCL 0200
#define O_NOCTTY 0400
#define O_TRUNC 01000
#define O_APPEND 02000
#define O_NONBLOCK 04000
#define O_DSYNC 010000
#define O_SYNC 04010000
#define O_RSYNC 04010000
#define O_DIRECTORY 0200000
#define O_NOFOLLOW 0400000
#define O_CL... | arch/x32/bits/fcntl.h | null | null | null | null | null |
source | musl | #define FE_INVALID 1
#define __FE_DENORM 2
#define FE_DIVBYZERO 4
#define FE_OVERFLOW 8
#define FE_UNDERFLOW 16
#define FE_INEXACT 32
#define FE_ALL_EXCEPT 63
#define FE_TONEAREST 0
#define FE_DOWNWARD 0x400
#define FE_UPWARD 0x800
#define FE_TOWARDZERO 0xc00
typedef unsigned short fexcept_t;
typ... | arch/x32/bits/fenv.h | null | null | null | null | null |
source | musl | #ifdef __FLT_EVAL_METHOD__
#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__
#else
#define FLT_EVAL_METHOD 0
#endif
#define LDBL_TRUE_MIN 3.6451995318824746025e-4951L
#define LDBL_MIN 3.3621031431120935063e-4932L
#define LDBL_MAX 1.1897314953572317650e+4932L
#define LDBL_EPSILON 1.0842021724855044340e-19L
#define L... | arch/x32/bits/float.h | null | null | null | null | null |
source | musl | #undef SIOCGSTAMP
#undef SIOCGSTAMPNS
#define SIOCGSTAMP 0x8906
#define SIOCGSTAMPNS 0x8907 | arch/x32/bits/ioctl_fix.h | null | null | null | null | null |
source | musl | struct ipc_perm {
key_t __ipc_perm_key;
uid_t uid;
gid_t gid;
uid_t cuid;
gid_t cgid;
mode_t mode;
int __ipc_perm_seq;
long long __pad1;
long long __pad2;
}; | arch/x32/bits/ipc.h | null | null | null | null | null |
source | musl | struct msqid_ds {
struct ipc_perm msg_perm;
time_t msg_stime;
time_t msg_rtime;
time_t msg_ctime;
unsigned long msg_cbytes;
long __unused1;
msgqnum_t msg_qnum;
long __unused2;
msglen_t msg_qbytes;
long __unused3;
pid_t msg_lspid;
pid_t msg_lrpid;
unsigned long long __unused[2];
}; | arch/x32/bits/msg.h | null | null | null | null | null |
source | musl | #define PTRACE_GET_THREAD_AREA 25
#define PTRACE_SET_THREAD_AREA 26
#define PTRACE_ARCH_PRCTL 30
#define PTRACE_SYSEMU 31
#define PTRACE_SYSEMU_SINGLESTEP 32
#define PTRACE_SINGLEBLOCK 33
#define PT_GET_THREAD_AREA PTRACE_GET_THREAD_AREA
#define PT_SET_THREAD_AREA PTRACE_SET_THREAD_AREA
#define PT_ARCH_PRCTL PTR... | arch/x32/bits/ptrace.h | null | null | null | null | null |
source | musl | #define R15 0
#define R14 1
#define R13 2
#define R12 3
#define RBP 4
#define RBX 5
#define R11 6
#define R10 7
#define R9 8
#define R8 9
#define RAX 10
#define RCX 11
#define RDX 12
#define RSI 13
#define RDI 14
#define ORIG_RAX 15
#define RIP 16
#define CS 17
#def... | arch/x32/bits/reg.h | null | null | null | null | null |
source | musl | struct semid_ds {
struct ipc_perm sem_perm;
time_t sem_otime;
long long __unused1;
time_t sem_ctime;
long long __unused2;
unsigned short sem_nsems;
char __sem_nsems_pad[sizeof(long long)-sizeof(short)];
long long __unused3;
long long __unused4;
}; | arch/x32/bits/sem.h | null | null | null | null | null |
source | musl | #define SHMLBA 4096
struct shmid_ds {
struct ipc_perm shm_perm;
size_t shm_segsz;
time_t shm_atime;
time_t shm_dtime;
time_t shm_ctime;
pid_t shm_cpid;
pid_t shm_lpid;
unsigned long shm_nattch;
unsigned long __pad0;
unsigned long long __pad1;
unsigned long long __pad2;
};
struct shminfo {
unsigned long sh... | arch/x32/bits/shm.h | null | null | null | null | null |
source | musl | #if defined(_POSIX_SOURCE) || defined(_POSIX_C_SOURCE) \
|| defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#if defined(_XOPEN_SOURCE) || defined(_GNU_SOURCE) || defined(_BSD_SOURCE)
#define MINSIGSTKSZ 2048
#define SIGSTKSZ 8192
#endif
#ifdef _GNU_SOURCE
enum { REG_R8 = 0 };
#define REG_R8 RE... | arch/x32/bits/signal.h | null | null | null | null | null |
source | musl | #define SO_RCVTIMEO 20
#define SO_SNDTIMEO 21
#define SO_TIMESTAMP 29
#define SO_TIMESTAMPNS 35
#define SO_TIMESTAMPING 37 | arch/x32/bits/socket.h | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.