1
0
mirror of https://github.com/fluencelabs/musl synced 2025-06-24 12:12:04 +00:00
Files
arch
crt
dist
include
arpa
net
netinet
netpacket
scsi
sys
acct.h
cachectl.h
dir.h
epoll.h
errno.h
eventfd.h
fcntl.h
file.h
fsuid.h
inotify.h
io.h
ioctl.h
ipc.h
kd.h
klog.h
mman.h
mount.h
msg.h
mtio.h
param.h
personality.h
poll.h
prctl.h
procfs.h
ptrace.h
reboot.h
reg.h
resource.h
select.h
sem.h
sendfile.h
shm.h
signal.h
signalfd.h
socket.h
soundcard.h
stat.h
statfs.h
statvfs.h
stropts.h
swap.h
syscall.h
sysctl.h
sysinfo.h
syslog.h
sysmacros.h
termios.h
time.h
timerfd.h
times.h
timex.h
ttydefaults.h
types.h
ucontext.h
uio.h
un.h
user.h
utsname.h
vfs.h
vt.h
wait.h
xattr.h
aio.h
alloca.h
alltypes.h.in
ar.h
assert.h
byteswap.h
complex.h
cpio.h
crypt.h
ctype.h
dirent.h
dlfcn.h
elf.h
endian.h
err.h
errno.h
fcntl.h
features.h
fenv.h
float.h
fnmatch.h
ftw.h
getopt.h
glob.h
grp.h
iconv.h
ifaddrs.h
inttypes.h
iso646.h
langinfo.h
lastlog.h
libgen.h
libintl.h
limits.h
link.h
locale.h
malloc.h
math.h
memory.h
mntent.h
monetary.h
mqueue.h
netdb.h
nl_types.h
paths.h
poll.h
pthread.h
pty.h
pwd.h
regex.h
resolv.h
sched.h
search.h
semaphore.h
setjmp.h
shadow.h
signal.h
spawn.h
stdalign.h
stdarg.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdio_ext.h
stdlib.h
stdnoreturn.h
string.h
strings.h
stropts.h
syscall.h
sysexits.h
syslog.h
tar.h
termios.h
tgmath.h
time.h
ucontext.h
ulimit.h
unistd.h
utime.h
utmp.h
utmpx.h
values.h
wchar.h
wctype.h
wordexp.h
lib
src
tools
.gitignore
COPYRIGHT
INSTALL
Makefile
README
WHATSNEW
configure
musl/include/sys/param.h

36 lines
756 B
C
Raw Normal View History

#ifndef _SYS_PARAM_H
#define _SYS_PARAM_H
2011-02-12 00:22:29 -05:00
#define MAXSYMLINKS 20
2011-02-12 00:22:29 -05:00
#define MAXHOSTNAMELEN 64
#define MAXNAMLEN 255
#define MAXPATHLEN 4096
#define NBBY 8
#define NGROUPS 32
#define CANBSIZE 255
#define NOFILE 256
#define NCARGS 131072
#define DEV_BSIZE 512
#define NOGROUP (-1)
2011-02-12 00:22:29 -05:00
#undef MIN
#undef MAX
#define MIN(a,b) (((a)<(b))?(a):(b))
#define MAX(a,b) (((a)>(b))?(a):(b))
#define __bitop(x,i,o) ((x)[(i)/8] o (1<<(i)%8))
#define setbit(x,i) __bitop(x,i,|=)
#define clrbit(x,i) __bitop(x,i,&=~)
#define isset(x,i) __bitop(x,i,&)
#define isclr(x,i) !isset(x,i)
#define howmany(n,d) (((n)+((d)-1))/(d))
#define roundup(n,d) (howmany(n,d)*(d))
#define powerof2(n) !(((n)-1) & (n))
2011-02-12 00:22:29 -05:00
#include <sys/resource.h>
#include <endian.h>
#include <limits.h>
#endif