X7ROOT File Manager
Current Path:
/usr/include/sys
usr
/
include
/
sys
/
📁
..
📄
acct.h
(3.22 KB)
📄
auxv.h
(1.23 KB)
📄
bitypes.h
(86 B)
📄
cdefs.h
(25.64 KB)
📄
debugreg.h
(3.49 KB)
📄
dir.h
(922 B)
📄
elf.h
(1 KB)
📄
epoll.h
(4.96 KB)
📄
errno.h
(19 B)
📄
eventfd.h
(1.37 KB)
📄
fanotify.h
(1.26 KB)
📄
fcntl.h
(19 B)
📄
file.h
(1.64 KB)
📄
fsuid.h
(1.16 KB)
📄
gmon.h
(6.08 KB)
📄
gmon_out.h
(2.57 KB)
📄
inotify.h
(3.81 KB)
📄
io.h
(4.97 KB)
📄
ioctl.h
(1.98 KB)
📄
ipc.h
(1.43 KB)
📄
kd.h
(1.09 KB)
📄
klog.h
(1.18 KB)
📄
mman.h
(5.42 KB)
📄
mount.h
(5.57 KB)
📄
msg.h
(2.56 KB)
📄
mtio.h
(10.9 KB)
📄
param.h
(3.08 KB)
📄
pci.h
(923 B)
📄
perm.h
(1.1 KB)
📄
personality.h
(2.66 KB)
📁
platform
📄
poll.h
(2.95 KB)
📄
prctl.h
(1.75 KB)
📄
procfs.h
(4.24 KB)
📄
profil.h
(1.91 KB)
📄
ptrace.h
(5.98 KB)
📄
queue.h
(19.08 KB)
📄
quota.h
(5.05 KB)
📄
random.h
(1.44 KB)
📄
raw.h
(1.15 KB)
📄
reboot.h
(1.59 KB)
📄
reg.h
(1.78 KB)
📄
resource.h
(3.94 KB)
📄
rseq.h
(6.25 KB)
📄
select.h
(4.92 KB)
📄
sem.h
(2.6 KB)
📄
sendfile.h
(1.76 KB)
📄
shm.h
(2.08 KB)
📄
signal.h
(20 B)
📄
signalfd.h
(1.67 KB)
📄
single_threaded.h
(1.15 KB)
📄
socket.h
(12.09 KB)
📄
socketvar.h
(141 B)
📄
soundcard.h
(29 B)
📄
stat.h
(13.41 KB)
📄
statfs.h
(2.04 KB)
📄
statvfs.h
(2.75 KB)
📄
swap.h
(1.56 KB)
📄
syscall.h
(1.23 KB)
📄
sysinfo.h
(1.48 KB)
📄
syslog.h
(7.6 KB)
📄
sysmacros.h
(2.05 KB)
📄
termios.h
(74 B)
📄
time.h
(8.92 KB)
📄
timeb.h
(1.13 KB)
📄
timerfd.h
(2.52 KB)
📄
times.h
(1.56 KB)
📄
timex.h
(2.77 KB)
📄
ttychars.h
(2.44 KB)
📄
ttydefaults.h
(3.48 KB)
📄
types.h
(5.58 KB)
📄
ucontext.h
(5.71 KB)
📄
uio.h
(6.64 KB)
📄
un.h
(1.42 KB)
📄
unistd.h
(20 B)
📄
user.h
(5.09 KB)
📄
utsname.h
(2.42 KB)
📄
vfs.h
(161 B)
📄
vlimit.h
(1.84 KB)
📄
vm86.h
(1.17 KB)
📄
vt.h
(22 B)
📄
wait.h
(6.09 KB)
📄
xattr.h
(4.17 KB)
Editing: sem.h
/* Copyright (C) 1995-2021 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. The GNU C Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with the GNU C Library; if not, see <https://www.gnu.org/licenses/>. */ #ifndef _SYS_SEM_H #define _SYS_SEM_H 1 #include <features.h> #define __need_size_t #include <stddef.h> /* Get common definition of System V style IPC. */ #include <sys/ipc.h> /* Get system dependent definition of `struct semid_ds' and more. */ #include <bits/sem.h> #ifdef __USE_GNU # include <bits/types/struct_timespec.h> #endif /* The following System V style IPC functions implement a semaphore handling. The definition is found in XPG2. */ /* Structure used for argument to `semop' to describe operations. */ struct sembuf { unsigned short int sem_num; /* semaphore number */ short int sem_op; /* semaphore operation */ short int sem_flg; /* operation flag */ }; __BEGIN_DECLS /* Semaphore control operation. */ #ifndef __USE_TIME_BITS64 extern int semctl (int __semid, int __semnum, int __cmd, ...) __THROW; #else # ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (semctl, (int __semid, int __semnum, int __cmd, ...), __semctl64); # else # define semctl __semctl64 # endif #endif /* Get semaphore. */ extern int semget (key_t __key, int __nsems, int __semflg) __THROW; /* Operate on semaphore. */ extern int semop (int __semid, struct sembuf *__sops, size_t __nsops) __THROW; #ifdef __USE_GNU /* Operate on semaphore with timeout. */ # ifndef __USE_TIME_BITS64 extern int semtimedop (int __semid, struct sembuf *__sops, size_t __nsops, const struct timespec *__timeout) __THROW; # else # ifdef __REDIRECT_NTH extern int __REDIRECT_NTH (semtimedop, (int __semid, struct sembuf *__sops, size_t __nsops, const struct timespec *__timeout), __semtimedop64); # else # define semtimedop __semtimedop64 # endif # endif #endif __END_DECLS #endif /* sys/sem.h */
Upload File
Create Folder