linux.h (c56480a832354aff995f9d0bc5da4ccf27dfe78a) | linux.h (390c9ea029fdd3fb2ce61fc6b48617f0f7cd8754) |
---|---|
1/*- 2 * Copyright (c) 1994-1996 Søren Schmidt 3 * Copyright (c) 2013 Dmitry Chagin <dchagin@FreeBSD.org> 4 * Copyright (c) 2018 Turing Robotic Industries Inc. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 67 unchanged lines hidden (view full) --- 76typedef struct { 77 l_time_t tv_sec; 78 l_suseconds_t tv_usec; 79} l_timeval; 80 81#define l_fd_set fd_set 82 83/* Miscellaneous */ | 1/*- 2 * Copyright (c) 1994-1996 Søren Schmidt 3 * Copyright (c) 2013 Dmitry Chagin <dchagin@FreeBSD.org> 4 * Copyright (c) 2018 Turing Robotic Industries Inc. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions 8 * are met: --- 67 unchanged lines hidden (view full) --- 76typedef struct { 77 l_time_t tv_sec; 78 l_suseconds_t tv_usec; 79} l_timeval; 80 81#define l_fd_set fd_set 82 83/* Miscellaneous */ |
84#define LINUX_AT_COUNT 20 | 84#define LINUX_AT_COUNT 21 |
85 86struct l___sysctl_args 87{ 88 l_uintptr_t name; 89 l_int nlen; 90 l_uintptr_t oldval; 91 l_uintptr_t oldlenp; 92 l_uintptr_t newval; --- 65 unchanged lines hidden (view full) --- 158#define LINUX_SA_NOMASK 0x40000000 /* SA_NODEFER */ 159#define LINUX_SA_ONESHOT 0x80000000 /* SA_RESETHAND */ 160 161/* sigprocmask actions */ 162#define LINUX_SIG_BLOCK 0 163#define LINUX_SIG_UNBLOCK 1 164#define LINUX_SIG_SETMASK 2 165 | 85 86struct l___sysctl_args 87{ 88 l_uintptr_t name; 89 l_int nlen; 90 l_uintptr_t oldval; 91 l_uintptr_t oldlenp; 92 l_uintptr_t newval; --- 65 unchanged lines hidden (view full) --- 158#define LINUX_SA_NOMASK 0x40000000 /* SA_NODEFER */ 159#define LINUX_SA_ONESHOT 0x80000000 /* SA_RESETHAND */ 160 161/* sigprocmask actions */ 162#define LINUX_SIG_BLOCK 0 163#define LINUX_SIG_UNBLOCK 1 164#define LINUX_SIG_SETMASK 2 165 |
166/* sigaltstack */ 167#define LINUX_MINSIGSTKSZ 5664 /* sigframe */ 168 | |
169typedef void (*l_handler_t)(l_int); 170 171typedef struct { 172 l_handler_t lsa_handler; 173 l_ulong lsa_flags; 174 l_uintptr_t lsa_restorer; 175 l_sigset_t lsa_mask; 176} l_sigaction_t; /* XXX */ --- 82 unchanged lines hidden --- | 166typedef void (*l_handler_t)(l_int); 167 168typedef struct { 169 l_handler_t lsa_handler; 170 l_ulong lsa_flags; 171 l_uintptr_t lsa_restorer; 172 l_sigset_t lsa_mask; 173} l_sigaction_t; /* XXX */ --- 82 unchanged lines hidden --- |