bindings-posix-0.0.2: Check bindings-common package for directions.Source codeContentsIndex
Bindings.Posix
Contents
aio.h
arpa/inet.h
cpio.h
ctype.h
dirent.h
dlfcn.h
errno.h
fcntl.h
fmtmsg.h
fnmatch.h
ftw.h
glob.h
grp.h
iconv.h
langinfo.h
libgen.h
locale.h
math
monetary.h
mqueue.h
net/if.h
netdb.h
netinet/in.h
netinet/tcp.h
nl_types.h
poll.h
pthread.h
pwd.h
regex.h
sched.h
search.h
semaphore.h
signal.h
spawn.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdlib.h
string.h
strings.h
stropts.h
sys/ipc.h
sys/mman.h
sys/msg.h
sys/resource.h
sys/select.h
sys/sem.h
sys/shm.h
sys/socket.h
sys/stat.h
sys/statvfs.h
sys/time.h
sys/times.h
sys/types.h
sys/uio.h
sys/un.h
sys/utsname.h
sys/wait.h
syslog.h
tar.h
termios.h
time.h
unistd.h
utmpx.h
wchar.h
wctype.h
wordexp.h
Synopsis
data Aiocb = Aiocb {
aiocb'aio_fildes :: CInt
aiocb'aio_offset :: COff
aiocb'aio_buf :: Ptr ()
aiocb'aio_nbytes :: CSize
aiocb'aio_reqprio :: CInt
aiocb'aio_sigevent :: Sigevent
aiocb'aio_lio_opcode :: CInt
}
_AIO_ALLDONE
_AIO_CANCELED
_AIO_NOTCANCELED
_LIO_NOP
_LIO_NOWAIT
_LIO_READ
_LIO_WAIT
_LIO_WRITE
aio_cancel :: CInt -> Ptr Aiocb -> IO CInt
aio_error :: Ptr Aiocb -> IO CInt
aio_fsync :: CInt -> Ptr Aiocb -> IO CInt
aio_read :: Ptr Aiocb -> IO CInt
aio_return :: Ptr Aiocb -> IO CSSize
aio_suspend :: Ptr (Ptr Aiocb) -> CInt -> Ptr Timespec -> IO CInt
aio_write :: Ptr Aiocb -> IO CInt
lio_listio :: CInt -> Ptr (Ptr Aiocb) -> CInt -> Ptr Sigevent -> IO CInt
htonl :: Word32 -> IO Word32
htons :: Word16 -> IO Word16
ntohl :: Word32 -> IO Word32
ntohs :: Word16 -> IO Word16
inet_addr :: CString -> IO CInAddr
inet_ntop :: CInt -> Ptr () -> CString -> CSocklen -> IO CString
inet_pton :: CInt -> CString -> Ptr () -> IO CInt
_C_IRUSR
_C_IWUSR
_C_IXUSR
_C_IRGRP
_C_IWGRP
_C_IXGRP
_C_IROTH
_C_IWOTH
_C_IXOTH
_C_ISUID
_C_ISGID
_C_ISVTX
_C_ISDIR
_C_ISFIFO
_C_ISREG
_C_ISBLK
_C_ISCHR
_C_ISCTG
_C_ISLNK
_C_ISSOCK
_MAGIC
data Dirent = Dirent {
dirent'd_ino :: CIno
dirent'd_name :: CString
}
data DIR
alphasort :: Ptr (Ptr Dirent) -> Ptr (Ptr Dirent) -> IO CInt
closedir :: Ptr DIR -> IO CInt
dirfd :: Ptr DIR -> IO CInt
fdopendir :: CInt -> IO (Ptr DIR)
opendir :: CString -> IO (Ptr DIR)
readdir :: Ptr DIR -> IO (Ptr Dirent)
readdir_r :: Ptr DIR -> Ptr Dirent -> Ptr (Ptr Dirent) -> IO CInt
rewinddir :: Ptr DIR -> IO ()
scandir :: CString -> Ptr (Ptr (Ptr Dirent)) -> FunPtr (Ptr Dirent -> IO CInt) -> FunPtr (Ptr (Ptr Dirent) -> Ptr (Ptr Dirent) -> IO CInt) -> IO CInt
seekdir :: Ptr DIR -> CLong -> IO ()
telldir :: Ptr DIR -> IO CLong
_RTLD_LAZY
_RTLD_NOW
_RTLD_GLOBAL
_RTLD_LOCAL
dlclose :: Ptr () -> IO CInt
dlerror :: IO CString
dlopen :: CString -> CInt -> IO (Ptr ())
dlsym :: Ptr () -> CString -> IO (Ptr ())
_E2BIG
_EACCES
_EADDRINUSE
_EADDRNOTAVAIL
_EAFNOSUPPORT
_EAGAIN
_EALREADY
_EBADF
_EBADMSG
_EBUSY
_ECANCELED
_ECHILD
_ECONNABORTED
_ECONNREFUSED
_ECONNRESET
_EDEADLK
_EDESTADDRREQ
_EDQUOT
_EEXIST
_EFAULT
_EFBIG
_EHOSTUNREACH
_EIDRM
_EINPROGRESS
_EINTR
_EINVAL
_EIO
_EISCONN
_EISDIR
_ELOOP
_EMFILE
_EMLINK
_EMSGSIZE
_EMULTIHOP
_ENAMETOOLONG
_ENETDOWN
_ENETRESET
_ENETUNREACH
_ENFILE
_ENOBUFS
_ENODEV
_ENOENT
_ENOEXEC
_ENOLCK
_ENOLINK
_ENOMEM
_ENOMSG
_ENOPROTOOPT
_ENOSPC
_ENOSYS
_ENOTCONN
_ENOTDIR
_ENOTEMPTY
_ENOTRECOVERABLE
_ENOTSOCK
_ENOTSUP
_ENOTTY
_ENXIO
_EOPNOTSUPP
_EOVERFLOW
_EOWNERDEAD
_EPERM
_EPIPE
_EPROTO
_EPROTONOSUPPORT
_EPROTOTYPE
_EROFS
_ESPIPE
_ESRCH
_ESTALE
_ETIMEDOUT
_ETXTBSY
_EWOULDBLOCK
_EXDEV
_F_DUPFD
_F_GETFD
_F_SETFD
_F_GETFL
_F_SETFL
_F_GETLK
_F_SETLK
_F_SETLKW
_F_GETOWN
_F_SETOWN
_FD_CLOEXEC
_F_RDLCK
_F_UNLCK
_F_WRLCK
_O_CREAT
_O_EXCL
_O_NOCTTY
_O_TRUNC
_O_APPEND
_O_DSYNC
_O_NONBLOCK
_O_RSYNC
_O_SYNC
_O_ACCMODE
_O_RDONLY
_O_RDWR
_O_WRONLY
_POSIX_FADV_DONTNEED
_POSIX_FADV_NOREUSE
_POSIX_FADV_NORMAL
_POSIX_FADV_RANDOM
_POSIX_FADV_SEQUENTIAL
_POSIX_FADV_WILLNEED
data Flock = Flock {
flock'l_type :: CShort
flock'l_whence :: CShort
flock'l_start :: COff
flock'l_len :: COff
flock'l_pid :: CPid
}
creat :: CString -> CMode -> IO CInt
posix_fadvise :: CInt -> COff -> COff -> CInt -> IO CInt
posix_fallocate :: CInt -> COff -> COff -> IO CInt
_MM_HARD
_MM_SOFT
_MM_FIRM
_MM_APPL
_MM_UTIL
_MM_OPSYS
_MM_RECOVER
_MM_NRECOV
_MM_HALT
_MM_ERROR
_MM_WARNING
_MM_INFO
_MM_NOSEV
_MM_PRINT
_MM_CONSOLE
_MM_NULLLBL
_MM_NULLSEV
_MM_NULLMC
_MM_NULLTXT
_MM_NULLACT
_MM_NULLTAG
_MM_OK
_MM_NOTOK
_MM_NOMSG
_MM_NOCON
fmtmsg :: CLong -> CString -> CInt -> CString -> CString -> CString -> IO CInt
_FNM_NOMATCH
_FNM_PATHNAME
_FNM_PERIOD
_FNM_NOESCAPE
fnmatch :: CString -> CString -> CInt -> IO CInt
_FTW_F
_FTW_D
_FTW_DNR
_FTW_NS
_FTW_SL
data Glob_t = Glob_t {
glob_t'gl_pathc :: CSize
glob_t'gl_pathv :: Ptr CString
glob_t'gl_offs :: CSize
}
_GLOB_APPEND
_GLOB_DOOFFS
_GLOB_ERR
_GLOB_MARK
_GLOB_NOCHECK
_GLOB_NOESCAPE
_GLOB_NOSORT
_GLOB_ABORTED
_GLOB_NOMATCH
_GLOB_NOSPACE
glob :: CString -> CInt -> FunPtr (CString -> CInt -> IO CInt) -> IO CInt
globfree :: Ptr Glob_t -> IO ()
data Group = Group {
group'gr_name :: CString
group'gr_gid :: CGid
group'gr_mem :: Ptr CString
}
endgrent :: IO ()
getgrent :: IO (Ptr Group)
getgrgid :: CGid -> IO (Ptr Group)
getgrgid_r :: CGid -> Ptr Group -> CString -> CSize -> Ptr (Ptr Group) -> IO CInt
getgrnam :: CString -> IO (Ptr Group)
getgrnam_r :: CString -> Ptr Group -> CString -> CSize -> Ptr (Ptr Group) -> IO CInt
setgrent :: IO ()
type CIconv = Word32
iconv :: CIconv -> Ptr CString -> Ptr CSize -> Ptr CString -> Ptr CSize -> IO CSize
iconv_close :: CIconv -> IO CInt
iconv_open :: CString -> CString -> IO CIconv
type CNlItem = Int32
_CODESET
_D_T_FMT
_D_FMT
_T_FMT
_T_FMT_AMPM
_AM_STR
_PM_STR
_DAY_1
_DAY_2
_DAY_3
_DAY_4
_DAY_5
_DAY_6
_DAY_7
_ABDAY_1
_ABDAY_2
_ABDAY_3
_ABDAY_4
_ABDAY_5
_ABDAY_6
_ABDAY_7
_MON_1
_MON_2
_MON_3
_MON_4
_MON_5
_MON_6
_MON_7
_MON_8
_MON_9
_MON_10
_MON_11
_MON_12
_ABMON_1
_ABMON_2
_ABMON_3
_ABMON_4
_ABMON_5
_ABMON_6
_ABMON_7
_ABMON_8
_ABMON_9
_ABMON_10
_ABMON_11
_ABMON_12
_ERA
_ERA_D_FMT
_ERA_D_T_FMT
_ERA_T_FMT
_ALT_DIGITS
_RADIXCHAR
_THOUSEP
_YESEXPR
_NOEXPR
_CRNCYSTR
nl_langinfo :: CNlItem -> IO CString
basename :: CString -> IO CString
dirname :: CString -> IO CString
_LC_MESSAGES
_M_E
_M_LOG2E
_M_LOG10E
_M_LN2
_M_LN10
_M_PI
_M_PI_2
_M_PI_4
_M_1_PI
_M_2_PI
_M_2_SQRTPI
_M_SQRT2
_M_SQRT1_2
j0 :: CDouble -> IO CDouble
j1 :: CDouble -> IO CDouble
jn :: CInt -> CDouble -> IO CDouble
y0 :: CDouble -> IO CDouble
y1 :: CDouble -> IO CDouble
yn :: CInt -> CDouble -> IO CDouble
signgam :: GlobalVariable (Ptr CInt)
data Mq_attr = Mq_attr {
mq_attr'mq_flags :: CLong
mq_attr'mq_maxmsg :: CLong
mq_attr'mq_msgsize :: CLong
mq_attr'mq_curmsgs :: CLong
}
type CMqd = Int32
mq_close :: CMqd -> IO CInt
mq_getattr :: CMqd -> Ptr Mq_attr -> IO CInt
mq_notify :: CMqd -> Ptr Sigevent -> IO CInt
mq_receive :: CMqd -> CString -> CSize -> Ptr CUInt -> IO CSSize
mq_send :: CMqd -> CString -> CSize -> CUInt -> IO CInt
mq_setattr :: CMqd -> Ptr Mq_attr -> Ptr Mq_attr -> IO CInt
mq_timedreceive :: CMqd -> CString -> CSize -> Ptr CUInt -> Ptr Timespec -> IO CSSize
mq_timedsend :: CMqd -> CString -> CSize -> CUInt -> Ptr Timespec -> IO CInt
mq_unlink :: CString -> IO CInt
data If_nameindex = If_nameindex {
if_nameindex'if_index :: CUInt
if_nameindex'if_name :: CString
}
_IF_NAMESIZE
if_freenameindex :: Ptr If_nameindex -> IO ()
if_indextoname :: CUInt -> CString -> IO CString
if_nameindex :: IO (Ptr If_nameindex)
if_nametoindex :: CString -> IO CUInt
data Hostent = Hostent {
hostent'h_name :: CString
hostent'h_aliases :: Ptr CString
hostent'h_addrtype :: CInt
hostent'h_length :: CInt
hostent'h_addr_list :: Ptr CString
}
data Netent = Netent {
netent'n_name :: CString
netent'n_aliases :: Ptr CString
netent'n_addrtype :: CInt
netent'n_net :: Word32
}
data Protoent = Protoent {
protoent'p_name :: CString
protoent'p_aliases :: Ptr CString
protoent'p_proto :: CInt
}
data Servent = Servent {
servent's_name :: CString
servent's_aliases :: Ptr CString
servent's_port :: CInt
servent's_proto :: CString
}
data Addrinfo = Addrinfo {
addrinfo'ai_flags :: CInt
addrinfo'ai_family :: CInt
addrinfo'ai_socktype :: CInt
addrinfo'ai_protocol :: CInt
addrinfo'ai_addrlen :: CSocklen
addrinfo'ai_addr :: Ptr Sockaddr
addrinfo'ai_canonname :: CString
addrinfo'ai_next :: Ptr Addrinfo
}
_AI_PASSIVE
_AI_CANONNAME
_AI_NUMERICHOST
_AI_NUMERICSERV
_AI_V4MAPPED
_AI_ALL
_AI_ADDRCONFIG
_NI_NOFQDN
_NI_NUMERICHOST
_NI_NAMEREQD
_NI_NUMERICSERV
_NI_DGRAM
_EAI_AGAIN
_EAI_BADFLAGS
_EAI_FAIL
_EAI_FAMILY
_EAI_MEMORY
_EAI_NONAME
_EAI_SERVICE
_EAI_SOCKTYPE
_EAI_SYSTEM
_EAI_OVERFLOW
endhostent :: IO ()
endnetent :: IO ()
endprotoent :: IO ()
endservent :: IO ()
freeaddrinfo :: Ptr Addrinfo -> IO ()
gai_strerror :: CInt -> IO CString
getaddrinfo :: CString -> CString -> Ptr Addrinfo -> Ptr (Ptr Addrinfo) -> IO CInt
gethostent :: IO (Ptr Hostent)
getnameinfo :: Ptr Sockaddr -> CSocklen -> CString -> CSocklen -> CString -> CSocklen -> CInt -> IO CInt
getnetbyaddr :: Word32 -> CInt -> IO (Ptr Netent)
getnetbyname :: CString -> IO (Ptr Netent)
getnetent :: IO (Ptr Netent)
getprotobyname :: CString -> IO (Ptr Protoent)
getprotobynumber :: CInt -> IO (Ptr Protoent)
getprotoent :: IO (Ptr Protoent)
getservbyname :: CString -> CString -> IO (Ptr Servent)
getservbyport :: CInt -> CString -> IO (Ptr Servent)
getservent :: IO (Ptr Servent)
sethostent :: CInt -> IO ()
setnetent :: CInt -> IO ()
setprotoent :: CInt -> IO ()
setservent :: CInt -> IO ()
data In_addr = In_addr {
in_addr's_addr :: CInAddr
}
data Sockaddr_in = Sockaddr_in {
sockaddr_in'sin_family :: CSaFamily
sockaddr_in'sin_port :: CInPort
sockaddr_in'sin_addr :: In_addr
}
data In6_addr = In6_addr {
in6_addr's6_addr :: Ptr Word8
}
data Sockaddr_in6 = Sockaddr_in6 {
sockaddr_in6'sin6_family :: CSaFamily
sockaddr_in6'sin6_port :: CInPort
sockaddr_in6'sin6_flowinfo :: Word32
sockaddr_in6'sin6_addr :: In6_addr
sockaddr_in6'sin6_scope_id :: Word32
}
data Ipv6_mreq = Ipv6_mreq {
ipv6_mreq'ipv6mr_multiaddr :: In6_addr
ipv6_mreq'ipv6mr_interface :: CUInt
}
type CInPort = Word16
type CInAddr = Word32
_IPPROTO_IP
_IPPROTO_IPV6
_IPPROTO_ICMP
_IPPROTO_RAW
_IPPROTO_TCP
_IPPROTO_UDP
_INADDR_ANY
_INADDR_BROADCAST
_INET_ADDRSTRLEN
_IPV6_JOIN_GROUP
_IPV6_LEAVE_GROUP
_IPV6_MULTICAST_HOPS
_IPV6_MULTICAST_IF
_IPV6_MULTICAST_LOOP
_IPV6_UNICAST_HOPS
_IPV6_V6ONLY
_TCP_NODELAY
type CNlCatd = Word32
_NL_SETD
_NL_CAT_LOCALE
catclose :: CNlCatd -> IO CInt
catgets :: CNlCatd -> CInt -> CInt -> CString -> IO CString
catopen :: CString -> CInt -> IO CNlCatd
data Pollfd = Pollfd {
pollfd'fd :: CInt
pollfd'events :: CShort
pollfd'revents :: CShort
}
type CNfds = Word32
_POLLIN
_POLLPRI
_POLLOUT
_POLLERR
_POLLHUP
_POLLNVAL
poll :: Ptr Pollfd -> CNfds -> CInt -> IO CInt
_PTHREAD_BARRIER_SERIAL_THREAD
_PTHREAD_CANCEL_ASYNCHRONOUS
_PTHREAD_CANCEL_ENABLE
_PTHREAD_CANCEL_DEFERRED
_PTHREAD_CANCEL_DISABLE
_PTHREAD_CANCELED
_PTHREAD_CREATE_DETACHED
_PTHREAD_CREATE_JOINABLE
_PTHREAD_EXPLICIT_SCHED
_PTHREAD_INHERIT_SCHED
_PTHREAD_ONCE_INIT
_PTHREAD_PROCESS_SHARED
_PTHREAD_PROCESS_PRIVATE
_PTHREAD_SCOPE_PROCESS
_PTHREAD_SCOPE_SYSTEM
pthread_attr_destroy :: Ptr Pthread_attr_t -> IO CInt
pthread_attr_getdetachstate :: Ptr Pthread_attr_t -> Ptr CInt -> IO CInt
pthread_attr_getguardsize :: Ptr Pthread_attr_t -> Ptr CSize -> IO CInt
pthread_attr_getinheritsched :: Ptr Pthread_attr_t -> Ptr CInt -> IO CInt
pthread_attr_getschedparam :: Ptr Pthread_attr_t -> Ptr Sched_param -> IO CInt
pthread_attr_getschedpolicy :: Ptr Pthread_attr_t -> Ptr CInt -> IO CInt
pthread_attr_getscope :: Ptr Pthread_attr_t -> Ptr CInt -> IO CInt
pthread_attr_getstack :: Ptr Pthread_attr_t -> Ptr (Ptr ()) -> Ptr CSize -> IO CInt
pthread_attr_getstacksize :: Ptr Pthread_attr_t -> Ptr CSize -> IO CInt
pthread_attr_init :: Ptr Pthread_attr_t -> IO CInt
pthread_attr_setdetachstate :: Ptr Pthread_attr_t -> CInt -> IO CInt
pthread_attr_setguardsize :: Ptr Pthread_attr_t -> CSize -> IO CInt
pthread_attr_setinheritsched :: Ptr Pthread_attr_t -> CInt -> IO CInt
pthread_attr_setschedparam :: Ptr Pthread_attr_t -> Ptr Sched_param -> IO CInt
pthread_attr_setschedpolicy :: Ptr Pthread_attr_t -> CInt -> IO CInt
pthread_attr_setscope :: Ptr Pthread_attr_t -> CInt -> IO CInt
pthread_attr_setstack :: Ptr Pthread_attr_t -> Ptr void -> CSize -> IO CInt
pthread_attr_setstacksize :: Ptr Pthread_attr_t -> CSize -> IO CInt
pthread_barrier_destroy :: Ptr Pthread_barrier_t -> IO CInt
pthread_barrier_init :: Ptr Pthread_barrier_t -> Ptr Pthread_barrierattr_t -> CUInt -> IO CInt
pthread_barrier_wait :: Ptr Pthread_barrier_t -> IO CInt
pthread_barrierattr_destroy :: Ptr Pthread_barrierattr_t -> IO CInt
pthread_barrierattr_getpshared :: Ptr Pthread_barrierattr_t -> Ptr CInt -> IO CInt
pthread_barrierattr_init :: Ptr Pthread_barrierattr_t -> IO CInt
pthread_barrierattr_setpshared :: Ptr Pthread_barrierattr_t -> CInt -> IO CInt
pthread_cond_broadcast :: Ptr Pthread_cond_t -> IO CInt
pthread_cond_destroy :: Ptr Pthread_cond_t -> IO CInt
pthread_cond_init :: Ptr Pthread_cond_t -> Ptr Pthread_condattr_t -> IO CInt
pthread_cond_signal :: Ptr Pthread_cond_t -> IO CInt
pthread_cond_timedwait :: Ptr Pthread_cond_t -> Ptr Pthread_mutex_t -> Ptr timespec -> IO CInt
pthread_cond_wait :: Ptr Pthread_cond_t -> Ptr Pthread_mutex_t -> IO CInt
pthread_condattr_destroy :: Ptr Pthread_condattr_t -> IO CInt
pthread_condattr_getclock :: Ptr Pthread_condattr_t -> Ptr clockid_t -> IO CInt
pthread_condattr_getpshared :: Ptr Pthread_condattr_t -> Ptr CInt -> IO CInt
pthread_condattr_init :: Ptr Pthread_condattr_t -> IO CInt
pthread_condattr_setclock :: Ptr Pthread_condattr_t -> CClock -> IO CInt
pthread_condattr_setpshared :: Ptr Pthread_condattr_t -> CInt -> IO CInt
pthread_create :: Ptr Pthread_t -> Ptr Pthread_attr_t -> FunPtr (Ptr () -> IO (Ptr ())) -> Ptr void -> IO CInt
pthread_exit :: Ptr () -> IO ()
pthread_key_create :: Ptr Pthread_key_t -> FunPtr (Ptr () -> IO (Ptr ())) -> IO CInt
pthread_mutex_destroy :: Ptr Pthread_mutex_t -> IO CInt
pthread_mutex_getprioceiling :: Ptr Pthread_mutex_t -> Ptr CInt -> IO CInt
pthread_mutex_init :: Ptr Pthread_mutex_t -> Ptr Pthread_mutexattr_t -> IO CInt
pthread_mutex_lock :: Ptr Pthread_mutex_t -> IO CInt
pthread_mutex_setprioceiling :: Ptr Pthread_mutex_t -> CInt -> Ptr CInt -> IO CInt
pthread_mutex_timedlock :: Ptr Pthread_mutex_t -> Ptr timespec -> IO CInt
pthread_mutex_trylock :: Ptr Pthread_mutex_t -> IO CInt
pthread_mutex_unlock :: Ptr Pthread_mutex_t -> IO CInt
pthread_mutexattr_destroy :: Ptr Pthread_mutexattr_t -> IO CInt
pthread_mutexattr_getprioceiling :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CInt
pthread_mutexattr_getprotocol :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CInt
pthread_mutexattr_getpshared :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CInt
pthread_mutexattr_gettype :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CInt
pthread_mutexattr_init :: Ptr Pthread_mutexattr_t -> IO CInt
pthread_mutexattr_setprioceiling :: Ptr Pthread_mutexattr_t -> CInt -> IO CInt
pthread_mutexattr_setprotocol :: Ptr Pthread_mutexattr_t -> CInt -> IO CInt
pthread_mutexattr_setpshared :: Ptr Pthread_mutexattr_t -> CInt -> IO CInt
pthread_mutexattr_settype :: Ptr Pthread_mutexattr_t -> CInt -> IO CInt
pthread_once :: Ptr Pthread_once_t -> FunPtr (IO ()) -> IO CInt
pthread_rwlock_destroy :: Ptr Pthread_rwlock_t -> IO CInt
pthread_rwlock_init :: Ptr Pthread_rwlock_t -> Ptr Pthread_rwlockattr_t -> IO CInt
pthread_rwlock_rdlock :: Ptr Pthread_rwlock_t -> IO CInt
pthread_rwlock_timedrdlock :: Ptr Pthread_rwlock_t -> Ptr timespec -> IO CInt
pthread_rwlock_timedwrlock :: Ptr Pthread_rwlock_t -> Ptr timespec -> IO CInt
pthread_rwlock_tryrdlock :: Ptr Pthread_rwlock_t -> IO CInt
pthread_rwlock_trywrlock :: Ptr Pthread_rwlock_t -> IO CInt
pthread_rwlock_unlock :: Ptr Pthread_rwlock_t -> IO CInt
pthread_rwlock_wrlock :: Ptr Pthread_rwlock_t -> IO CInt
pthread_rwlockattr_destroy :: Ptr Pthread_rwlockattr_t -> IO CInt
pthread_rwlockattr_getpshared :: Ptr Pthread_rwlockattr_t -> Ptr CInt -> IO CInt
pthread_rwlockattr_init :: Ptr Pthread_rwlockattr_t -> IO CInt
pthread_rwlockattr_setpshared :: Ptr Pthread_rwlockattr_t -> CInt -> IO CInt
pthread_setcancelstate :: CInt -> Ptr CInt -> IO CInt
pthread_setcanceltype :: CInt -> Ptr CInt -> IO CInt
pthread_spin_destroy :: Ptr Pthread_spinlock_t -> IO CInt
pthread_spin_init :: Ptr Pthread_spinlock_t -> CInt -> IO CInt
pthread_spin_trylock :: Ptr Pthread_spinlock_t -> IO CInt
pthread_spin_unlock :: Ptr Pthread_spinlock_t -> IO CInt
pthread_testcancel :: IO ()
data Passwd = Passwd {
passwd'pw_name :: CString
passwd'pw_uid :: CUid
passwd'pw_gid :: CGid
passwd'pw_dir :: CString
passwd'pw_shell :: CString
}
endpwent :: IO ()
getpwent :: IO (Ptr Passwd)
getpwnam :: CString -> IO (Ptr Passwd)
getpwnam_r :: CString -> Ptr Passwd -> CString -> CSize -> Ptr (Ptr Passwd) -> IO CInt
getpwuid :: CUid -> IO (Ptr Passwd)
getpwuid_r :: CUid -> Ptr Passwd -> CString -> CSize -> Ptr (Ptr Passwd) -> IO CInt
setpwent :: IO ()
data Regex_t = Regex_t {
regex_t're_nsub :: CSize
}
data Regmatch_t = Regmatch_t {
regmatch_t'rm_so :: CRegoff
regmatch_t'rm_eo :: CRegoff
}
type CRegoff = Int32
_REG_EXTENDED
_REG_ICASE
_REG_NOSUB
_REG_NEWLINE
_REG_NOTBOL
_REG_NOTEOL
_REG_NOMATCH
_REG_BADPAT
_REG_ECOLLATE
_REG_ECTYPE
_REG_EESCAPE
_REG_ESUBREG
_REG_EBRACK
_REG_EPAREN
_REG_EBRACE
_REG_BADBR
_REG_ERANGE
_REG_ESPACE
_REG_BADRPT
regcomp :: Ptr Regex_t -> CString -> CInt -> IO CInt
regerror :: CInt -> Ptr Regex_t -> CString -> CSize -> IO CSize
regexec :: Ptr Regex_t -> CString -> CSize -> Ptr Regmatch_t -> CInt -> IO CInt
regfree :: Ptr Regex_t -> IO ()
data Sched_param = Sched_param {
sched_param'sched_priority :: CInt
}
_SCHED_FIFO
_SCHED_RR
_SCHED_OTHER
sched_get_priority_max :: CInt -> IO CInt
sched_get_priority_min :: CInt -> IO CInt
sched_getparam :: CPid -> Ptr Sched_param -> IO CInt
sched_getscheduler :: CPid -> IO CInt
sched_rr_get_interval :: CPid -> Ptr Timespec -> IO CInt
sched_setparam :: CPid -> Ptr Sched_param -> IO CInt
sched_setscheduler :: CPid -> CInt -> Ptr Sched_param -> IO CInt
sched_yield :: IO CInt
data ENTRY
type ACTION = Word32
type VISIT = Word32
_FIND
_ENTER
preorder
postorder
endorder
leaf
hcreate :: CSize -> IO CInt
hdestroy :: IO ()
insque :: Ptr () -> Ptr () -> IO ()
lfind :: Ptr () -> Ptr () -> Ptr CSize -> CSize -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())
lsearch :: Ptr () -> Ptr () -> Ptr CSize -> CSize -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())
remque :: Ptr () -> IO ()
tdelete :: Ptr () -> Ptr (Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())
tfind :: Ptr () -> Ptr () -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())
tsearch :: Ptr () -> Ptr (Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())
twalk :: Ptr () -> FunPtr (Ptr () -> VISIT -> CInt -> IO ()) -> IO ()
data CSem
_SEM_FAILED
sem_close :: Ptr CSem -> IO CInt
sem_destroy :: Ptr CSem -> IO CInt
sem_getvalue :: Ptr CSem -> Ptr CInt -> IO CInt
sem_init :: Ptr CSem -> CInt -> CUInt -> IO CInt
sem_post :: Ptr CSem -> IO CInt
sem_timedwait :: Ptr CSem -> Ptr Timespec -> IO CInt
sem_trywait :: Ptr CSem -> IO CInt
sem_unlink :: CString -> IO CInt
sem_wait :: Ptr CSem -> IO CInt
data Sigset_t = Sigset_t
data Sigevent = Sigevent {
sigevent'sigev_notify :: CInt
sigevent'sigev_signo :: CInt
sigevent'sigev_value :: Sigval
sigevent'sigev_notify_function :: FunPtr (Sigval -> IO ())
sigevent'sigev_notify_attributes :: Ptr ()
}
data Sigval = Sigval {
sigval'sival_int :: CInt
sigval'sival_ptr :: Ptr ()
}
data Sigaction = Sigaction {
sigaction'sa_handler :: FunPtr (CInt -> IO ())
sigaction'sa_flags :: CInt
sigaction'sa_sigaction :: FunPtr (CInt -> Ptr Siginfo_t -> Ptr () -> IO ())
}
data Ucontext_t = Ucontext_t {
ucontext_t'uc_link :: Ptr Ucontext_t
ucontext_t'uc_stack :: Stack_t
}
data Stack_t = Stack_t {
stack_t'ss_sp :: Ptr ()
stack_t'ss_size :: CSize
stack_t'ss_flags :: CInt
}
data Siginfo_t = Siginfo_t {
siginfo_t'si_signo :: CInt
siginfo_t'si_code :: CInt
siginfo_t'si_errno :: CInt
siginfo_t'si_pid :: CPid
siginfo_t'si_uid :: CUid
siginfo_t'si_addr :: Ptr ()
siginfo_t'si_status :: CInt
siginfo_t'si_band :: CLong
siginfo_t'si_value :: Sigval
}
_SIGEV_NONE
_SIGEV_SIGNAL
_SIGEV_THREAD
_SIGALRM
_SIGBUS
_SIGCHLD
_SIGCONT
_SIGHUP
_SIGKILL
_SIGPIPE
_SIGQUIT
_SIGSTOP
_SIGTSTP
_SIGTTIN
_SIGTTOU
_SIGUSR1
_SIGUSR2
_SIGSYS
_SIGTRAP
_SIGURG
_SIGVTALRM
_SIGXCPU
_SIGXFSZ
_SIG_BLOCK
_SIG_UNBLOCK
_SIG_SETMASK
_SA_NOCLDSTOP
_SA_ONSTACK
_SA_RESETHAND
_SA_RESTART
_SA_SIGINFO
_SA_NOCLDWAIT
_SA_NODEFER
_SS_ONSTACK
_SS_DISABLE
_MINSIGSTKSZ
_SIGSTKSZ
_ILL_ILLOPC
_ILL_ILLOPN
_ILL_ILLADR
_ILL_ILLTRP
_ILL_PRVOPC
_ILL_PRVREG
_ILL_COPROC
_ILL_BADSTK
_FPE_INTDIV
_FPE_INTOVF
_FPE_FLTDIV
_FPE_FLTOVF
_FPE_FLTUND
_FPE_FLTRES
_FPE_FLTINV
_FPE_FLTSUB
_SEGV_MAPERR
_SEGV_ACCERR
_BUS_ADRALN
_BUS_ADRERR
_BUS_OBJERR
_TRAP_BRKPT
_TRAP_TRACE
_CLD_EXITED
_CLD_KILLED
_CLD_DUMPED
_CLD_TRAPPED
_CLD_STOPPED
_CLD_CONTINUED
_SI_USER
_SI_QUEUE
_SI_TIMER
_SI_ASYNCIO
_SI_MESGQ
kill :: CPid -> CInt -> IO CInt
killpg :: CPid -> CInt -> IO CInt
psignal :: CInt -> CString -> IO ()
pthread_sigmask :: CInt -> Ptr Sigset_t -> Ptr Sigset_t -> IO CInt
sigaction :: CInt -> Ptr Sigaction -> Ptr Sigaction -> IO CInt
sigaddset :: Ptr Sigset_t -> CInt -> IO CInt
sigaltstack :: Ptr Stack_t -> Ptr Stack_t -> IO CInt
sigdelset :: Ptr Sigset_t -> CInt -> IO CInt
sigemptyset :: Ptr Sigset_t -> IO CInt
sigfillset :: Ptr Sigset_t -> IO CInt
sigismember :: Ptr Sigset_t -> CInt -> IO CInt
sigpending :: Ptr Sigset_t -> IO CInt
sigprocmask :: CInt -> Ptr Sigset_t -> Ptr Sigset_t -> IO CInt
sigsuspend :: Ptr Sigset_t -> IO CInt
sigtimedwait :: Ptr Sigset_t -> Ptr Siginfo_t -> Ptr Timespec -> IO CInt
sigwait :: Ptr Sigset_t -> Ptr CInt -> IO CInt
sigwaitinfo :: Ptr Sigset_t -> Ptr Siginfo_t -> IO CInt
data Posix_spawnattr_t = Posix_spawnattr_t
data Posix_spawn_file_actions_t = Posix_spawn_file_actions_t
_POSIX_SPAWN_RESETIDS
_POSIX_SPAWN_SETPGROUP
_POSIX_SPAWN_SETSCHEDPARAM
_POSIX_SPAWN_SETSCHEDULER
_POSIX_SPAWN_SETSIGDEF
_POSIX_SPAWN_SETSIGMASK
posix_spawn :: Ptr CPid -> CString -> Ptr Posix_spawn_file_actions_t -> Ptr Posix_spawnattr_t -> CString -> Ptr CString -> IO CInt
posix_spawn_file_actions_addclose :: Ptr Posix_spawn_file_actions_t -> CInt -> IO CInt
posix_spawn_file_actions_adddup2 :: Ptr Posix_spawn_file_actions_t -> CInt -> CInt -> IO CInt
posix_spawn_file_actions_addopen :: Ptr Posix_spawn_file_actions_t -> CInt -> CString -> CInt -> CMode -> IO CInt
posix_spawn_file_actions_destroy :: Ptr Posix_spawn_file_actions_t -> IO CInt
posix_spawn_file_actions_init :: Ptr Posix_spawn_file_actions_t -> IO CInt
posix_spawnattr_destroy :: Ptr Posix_spawnattr_t -> IO CInt
posix_spawnattr_getflags :: Ptr Posix_spawnattr_t -> Ptr CShort -> IO CInt
posix_spawnattr_getpgroup :: Ptr Posix_spawnattr_t -> Ptr CPid -> IO CInt
posix_spawnattr_getschedparam :: Ptr Posix_spawnattr_t -> Ptr Sched_param -> IO CInt
posix_spawnattr_getschedpolicy :: Ptr Posix_spawnattr_t -> Ptr CInt -> IO CInt
posix_spawnattr_getsigdefault :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CInt
posix_spawnattr_getsigmask :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CInt
posix_spawnattr_init :: Ptr Posix_spawnattr_t -> IO CInt
posix_spawnattr_setflags :: Ptr Posix_spawnattr_t -> CShort -> IO CInt
posix_spawnattr_setpgroup :: Ptr Posix_spawnattr_t -> CPid -> IO CInt
posix_spawnattr_setschedparam :: Ptr Posix_spawnattr_t -> Ptr Sched_param -> IO CInt
posix_spawnattr_setschedpolicy :: Ptr Posix_spawnattr_t -> CInt -> IO CInt
posix_spawnattr_setsigdefault :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CInt
posix_spawnattr_setsigmask :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CInt
posix_spawnp :: Ptr CPid -> CString -> Ptr Posix_spawn_file_actions_t -> Ptr Posix_spawnattr_t -> Ptr CString -> Ptr CString -> IO CInt
true
false
_L_ctermid
ctermid :: CString -> IO CString
fdopen :: CInt -> CString -> IO (Ptr CFile)
fileno :: Ptr CFile -> IO CInt
flockfile :: Ptr CFile -> IO ()
fseeko :: Ptr CFile -> COff -> CInt -> IO CInt
ftello :: Ptr CFile -> IO COff
ftrylockfile :: Ptr CFile -> IO CInt
funlockfile :: Ptr CFile -> IO ()
getc_unlocked :: Ptr CFile -> IO CInt
getchar_unlocked :: IO CInt
getdelim :: Ptr CString -> Ptr CSize -> CInt -> Ptr CFile -> IO CSSize
getline :: Ptr CString -> Ptr CSize -> Ptr CFile -> IO CSSize
open_memstream :: Ptr CString -> Ptr CSize -> IO (Ptr CFile)
pclose :: Ptr CFile -> IO CInt
popen :: CString -> CString -> IO (Ptr CFile)
putc_unlocked :: CInt -> Ptr CFile -> IO CInt
putchar_unlocked :: CInt -> IO CInt
renameat :: CInt -> CString -> CInt -> CString -> IO CInt
a64l :: CString -> IO CLong
drand48 :: IO CDouble
erand48 :: Ptr CUShort -> IO CDouble
grantpt :: CInt -> IO CInt
initstate :: CUInt -> CString -> CSize -> IO CString
jrand48 :: Ptr CUShort -> IO CLong
l64a :: CLong -> IO CString
lcong48 :: Ptr CUShort -> IO ()
lrand48 :: IO CLong
mkdtemp :: CString -> IO CString
mkstemp :: CString -> IO CInt
mrand48 :: IO CLong
nrand48 :: Ptr CUShort -> IO CLong
posix_memalign :: Ptr (Ptr ()) -> CSize -> CSize -> IO CInt
posix_openpt :: CInt -> IO CInt
ptsname :: CInt -> IO CString
putenv :: CString -> IO CInt
rand_r :: IO CInt
random :: IO CLong
realpath :: CString -> CString -> IO CString
seed48 :: Ptr CUShort -> IO (Ptr CUShort)
setenv :: CString -> CString -> CInt -> IO CInt
setstate :: CString -> IO CString
srandom :: CUInt -> IO ()
unlockpt :: CInt -> IO CInt
unsetenv :: CString -> IO CInt
memccpy :: Ptr () -> Ptr () -> CInt -> CSize -> IO (Ptr ())
stpcpy :: CString -> CString -> IO CString
stpncpy :: CString -> CString -> CSize -> IO CString
strdup :: CString -> IO CString
strerror_r :: CInt -> CString -> CSize -> IO CInt
strndup :: CString -> CSize -> IO CString
strnlen :: CString -> CSize -> IO CSize
strsignal :: CInt -> IO CString
strtok_r :: CString -> CString -> Ptr CString -> IO CString
data Ipc_perm = Ipc_perm {
ipc_perm'uid :: CUid
ipc_perm'gid :: CGid
ipc_perm'cuid :: CUid
ipc_perm'cgid :: CGid
ipc_perm'mode :: CMode
}
_IPC_CREAT
_IPC_EXCL
_IPC_NOWAIT
_IPC_PRIVATE
_IPC_RMID
_IPC_SET
_IPC_STAT
ftok :: CString -> CInt -> IO CKey
_PROT_EXEC
_PROT_NONE
_PROT_READ
_PROT_WRITE
_MAP_FIXED
_MAP_PRIVATE
_MAP_SHARED
_MS_ASYNC
_MS_INVALIDATE
_MS_SYNC
_MCL_CURRENT
_MCL_FUTURE
_MAP_FAILED
_POSIX_MADV_DONTNEED
_POSIX_MADV_NORMAL
_POSIX_MADV_RANDOM
_POSIX_MADV_SEQUENTIAL
_POSIX_MADV_WILLNEED
mlock :: Ptr () -> CSize -> IO CInt
mlockall :: CInt -> IO CInt
mmap :: Ptr () -> CSize -> CInt -> CInt -> CInt -> COff -> IO (Ptr ())
mprotect :: Ptr () -> CSize -> CInt -> IO CInt
msync :: Ptr () -> CSize -> CInt -> IO CInt
munlock :: Ptr () -> CSize -> IO CInt
munlockall :: IO CInt
munmap :: Ptr () -> CSize -> IO CInt
posix_madvise :: Ptr () -> CSize -> CInt -> IO CInt
shm_open :: CString -> CInt -> CMode -> IO CInt
shm_unlink :: CString -> IO CInt
type CMsgqnum = Word32
type CMsglen = Word32
_MSG_NOERROR
data Msqid_ds = Msqid_ds {
msqid_ds'msg_perm :: Ipc_perm
msqid_ds'msg_qnum :: CMsgqnum
msqid_ds'msg_qbytes :: CMsglen
msqid_ds'msg_lspid :: CPid
msqid_ds'msg_lrpid :: CPid
msqid_ds'msg_stime :: CTime
msqid_ds'msg_rtime :: CTime
msqid_ds'msg_ctime :: CTime
}
msgctl :: CInt -> CInt -> Ptr Msqid_ds -> IO CInt
msgget :: CKey -> CInt -> IO CInt
msgrcv :: CInt -> Ptr () -> CSize -> CLong -> CInt -> IO CSSize
msgsnd :: CInt -> Ptr () -> CSize -> CInt -> IO CInt
_PRIO_PROCESS
_PRIO_PGRP
_PRIO_USER
type CRlim = Word64
_RLIM_INFINITY
_RLIM_SAVED_MAX
_RLIM_SAVED_CUR
_RUSAGE_SELF
_RUSAGE_CHILDREN
data Rlimit = Rlimit {
rlimit'rlim_cur :: CRlim
rlimit'rlim_max :: CRlim
}
data Rusage = Rusage {
rusage'ru_utime :: Timeval
rusage'ru_stime :: Timeval
}
_RLIMIT_CORE
_RLIMIT_CPU
_RLIMIT_DATA
_RLIMIT_FSIZE
_RLIMIT_NOFILE
_RLIMIT_STACK
_RLIMIT_AS
getpriority :: CInt -> CId -> IO CInt
getrlimit :: CInt -> Ptr Rlimit -> IO CInt
getrusage :: CInt -> Ptr Rusage -> IO CInt
setpriority :: CInt -> CId -> CInt -> IO CInt
setrlimit :: CInt -> Ptr Rlimit -> IO CInt
data Timeval = Timeval {
timeval'tv_sec :: CTime
timeval'tv_usec :: CSuseconds
}
data Fd_set = Fd_set
_FD_SETSIZE
pselect :: CInt -> Ptr Fd_set -> Ptr Fd_set -> Ptr Fd_set -> Ptr Timespec -> Ptr Sigset_t -> IO CInt
select :: CInt -> Ptr Fd_set -> Ptr Fd_set -> Ptr Fd_set -> Ptr Timeval -> IO CInt
_SEM_UNDO
_GETNCNT
_GETPID
_GETVAL
_GETALL
_GETZCNT
_SETVAL
_SETALL
data Semid_ds = Semid_ds {
semid_ds'sem_perm :: Ipc_perm
semid_ds'sem_nsems :: CUShort
semid_ds'sem_otime :: CTime
semid_ds'sem_ctime :: CTime
}
data Sembuf = Sembuf {
sembuf'sem_num :: CUShort
sembuf'sem_op :: CShort
sembuf'sem_flg :: CShort
}
semget :: CKey -> CInt -> CInt -> IO CInt
semop :: CInt -> Ptr Sembuf -> CSize -> IO CInt
_SHM_RDONLY
_SHM_RND
_SHMLBA
data Shmid_ds = Shmid_ds {
shmid_ds'shm_perm :: Ipc_perm
shmid_ds'shm_segsz :: CSize
shmid_ds'shm_lpid :: CPid
shmid_ds'shm_cpid :: CPid
shmid_ds'shm_nattch :: CShmatt
shmid_ds'shm_atime :: CTime
shmid_ds'shm_dtime :: CTime
shmid_ds'shm_ctime :: CTime
}
type CShmatt = Word32
shmat :: CInt -> Ptr () -> CInt -> IO (Ptr ())
shmctl :: CInt -> CInt -> Ptr Shmid_ds -> IO CInt
shmdt :: Ptr () -> IO CInt
shmget :: CKey -> CSize -> CInt -> IO CInt
data Sockaddr = Sockaddr {
sockaddr'sa_family :: CSaFamily
sockaddr'sa_data :: CString
}
data Sockaddr_storage = Sockaddr_storage {
sockaddr_storage'ss_family :: CSaFamily
}
data Msghdr = Msghdr {
msghdr'msg_name :: Ptr ()
msghdr'msg_namelen :: CSocklen
msghdr'msg_iov :: Ptr Iovec
msghdr'msg_iovlen :: CInt
msghdr'msg_control :: Ptr ()
msghdr'msg_controllen :: CSocklen
msghdr'msg_flags :: CInt
}
data Cmsghdr = Cmsghdr {
cmsghdr'cmsg_len :: CSocklen
cmsghdr'cmsg_level :: CInt
cmsghdr'cmsg_type :: CInt
}
type CSocklen = Word32
type CSaFamily = Word16
_SCM_RIGHTS
data Linger = Linger {
linger'l_onoff :: CInt
linger'l_linger :: CInt
}
_SOCK_DGRAM
_SOCK_RAW
_SOCK_SEQPACKET
_SOCK_STREAM
_SOL_SOCKET
_SO_ACCEPTCONN
_SO_BROADCAST
_SO_DEBUG
_SO_DONTROUTE
_SO_ERROR
_SO_KEEPALIVE
_SO_LINGER
_SO_OOBINLINE
_SO_RCVBUF
_SO_RCVLOWAT
_SO_RCVTIMEO
_SO_REUSEADDR
_SO_SNDBUF
_SO_SNDLOWAT
_SO_SNDTIMEO
_SO_TYPE
_SOMAXCONN
_MSG_CTRUNC
_MSG_DONTROUTE
_MSG_EOR
_MSG_OOB
_MSG_NOSIGNAL
_MSG_PEEK
_MSG_TRUNC
_MSG_WAITALL
_AF_INET
_AF_INET6
_AF_UNIX
_AF_UNSPEC
_SHUT_RD
_SHUT_RDWR
_SHUT_WR
accept :: CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CInt
bind :: CInt -> Ptr Sockaddr -> CSocklen -> IO CInt
connect :: CInt -> Ptr Sockaddr -> CSocklen -> IO CInt
getpeername :: CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CInt
getsockname :: CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CInt
getsockopt :: CInt -> CInt -> CInt -> Ptr () -> Ptr CSocklen -> IO CInt
listen :: CInt -> CInt -> IO CInt
recv :: CInt -> Ptr () -> CSize -> CInt -> IO CSSize
recvfrom :: CInt -> Ptr () -> CSize -> CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CSSize
recvmsg :: CInt -> Ptr Msghdr -> CInt -> IO CSSize
send :: CInt -> Ptr () -> CSize -> CInt -> IO CSSize
sendmsg :: CInt -> Ptr Msghdr -> CInt -> IO CSSize
sendto :: CInt -> Ptr () -> CSize -> CInt -> Ptr Sockaddr -> CSocklen -> IO CSSize
setsockopt :: CInt -> CInt -> CInt -> Ptr () -> CSocklen -> IO CInt
shutdown :: CInt -> CInt -> IO CInt
sockatmark :: CInt -> IO CInt
socket :: CInt -> CInt -> CInt -> IO CInt
socketpair :: CInt -> CInt -> CInt -> Ptr CInt -> IO CInt
data Stat = Stat {
stat'st_dev :: CDev
stat'st_ino :: CIno
stat'st_mode :: CMode
stat'st_nlink :: CNlink
stat'st_uid :: CUid
stat'st_gid :: CGid
stat'st_rdev :: CDev
stat'st_size :: COff
stat'st_atim :: Timespec
stat'st_mtim :: Timespec
stat'st_ctim :: Timespec
stat'st_blocks :: CBlkcnt
}
_S_IFMT
_S_IFBLK
_S_IFCHR
_S_IFIFO
_S_IFREG
_S_IFDIR
_S_IFLNK
_S_IFSOCK
_S_IRWXU
_S_IRUSR
_S_IWUSR
_S_IXUSR
_S_IRWXG
_S_IRGRP
_S_IWGRP
_S_IXGRP
_S_IRWXO
_S_IROTH
_S_IWOTH
_S_IXOTH
_S_ISUID
_S_ISGID
_S_ISVTX
chmod :: CString -> CMode -> IO CInt
fchmod :: CInt -> CMode -> IO CInt
fchmodat :: CInt -> CString -> CMode -> CInt -> IO CInt
fstat :: CInt -> Ptr Stat -> IO CInt
fstatat :: CInt -> CString -> Ptr Stat -> CInt -> IO CInt
futimens :: CInt -> Ptr (Ptr Timespec) -> IO CInt
lstat :: CString -> Ptr Stat -> IO CInt
mkdir :: CString -> CMode -> IO CInt
mkdirat :: CInt -> CString -> CMode -> IO CInt
mkfifo :: CString -> CMode -> IO CInt
mkfifoat :: CInt -> CString -> CMode -> IO CInt
mknod :: CString -> CMode -> CDev -> IO CInt
mknodat :: CInt -> CString -> CMode -> CDev -> IO CInt
stat :: CString -> Ptr Stat -> IO CInt
umask :: CMode -> IO CMode
utimensat :: CInt -> CString -> Ptr (Ptr Timespec) -> CInt -> IO CInt
data Statvfs = Statvfs {
statvfs'f_bsize :: CULong
statvfs'f_frsize :: CULong
statvfs'f_blocks :: CFsblkcnt
statvfs'f_bfree :: CFsblkcnt
statvfs'f_bavail :: CFsblkcnt
statvfs'f_files :: CFsfilcnt
statvfs'f_ffree :: CFsfilcnt
statvfs'f_favail :: CFsfilcnt
statvfs'f_fsid :: CULong
statvfs'f_flag :: CULong
statvfs'f_namemax :: CULong
}
_ST_RDONLY
_ST_NOSUID
fstatvfs :: CInt -> Ptr Statvfs -> IO CInt
statvfs :: CString -> Ptr Statvfs -> IO CInt
utimes :: CString -> Ptr (Ptr Timeval) -> IO CInt
data Tms = Tms {
tms'tms_utime :: CClock
tms'tms_stime :: CClock
tms'tms_cutime :: CClock
tms'tms_cstime :: CClock
}
times :: Ptr Tms -> IO CClock
type CClockid = Int32
type CDev = Word64
type CFsblkcnt = Word64
type CFsfilcnt = Word64
type CGid = Word32
type CId = Word32
type CIno = Word64
type CKey = Int32
type CMode = Word32
type CNlink = Word32
type COff = Int64
type CPid = Int32
type CSSize = Int32
type CSuseconds = Int32
type CTimer = Word32
type CUid = Word32
data Pthread_attr_t = Pthread_attr_t
data Pthread_barrier_t = Pthread_barrier_t
data Pthread_barrierattr_t = Pthread_barrierattr_t
data Pthread_cond_t = Pthread_cond_t
data Pthread_condattr_t = Pthread_condattr_t
data Pthread_key_t = Pthread_key_t
data Pthread_mutex_t = Pthread_mutex_t
data Pthread_mutexattr_t = Pthread_mutexattr_t
data Pthread_once_t = Pthread_once_t
data Pthread_rwlock_t = Pthread_rwlock_t
data Pthread_rwlockattr_t = Pthread_rwlockattr_t
data Pthread_spinlock_t = Pthread_spinlock_t
data Pthread_t = Pthread_t
data Iovec = Iovec {
iovec'iov_base :: Ptr ()
iovec'iov_len :: CSize
}
readv :: CInt -> Ptr Iovec -> CInt -> IO CSSize
writev :: CInt -> Ptr Iovec -> CInt -> IO CSSize
data Sockaddr_un = Sockaddr_un {
sockaddr_un'sun_family :: CSaFamily
sockaddr_un'sun_path :: CString
}
data Utsname = Utsname {
utsname'sysname :: CString
utsname'nodename :: CString
}
uname :: Ptr Utsname -> IO CInt
_WCONTINUED
_WNOHANG
_WUNTRACED
_WEXITED
_WNOWAIT
_WSTOPPED
type CIdtype = Word32
_P_ALL
_P_PGID
_P_PID
wait :: Ptr CInt -> IO CPid
waitid :: CIdtype -> CId -> Ptr Siginfo_t -> CInt -> IO CInt
waitpid :: CPid -> Ptr CInt -> CInt -> IO CPid
_LOG_PID
_LOG_CONS
_LOG_NDELAY
_LOG_ODELAY
_LOG_NOWAIT
_LOG_KERN
_LOG_USER
_LOG_MAIL
_LOG_NEWS
_LOG_UUCP
_LOG_DAEMON
_LOG_AUTH
_LOG_CRON
_LOG_LPR
_LOG_LOCAL0
_LOG_LOCAL1
_LOG_LOCAL2
_LOG_LOCAL3
_LOG_LOCAL4
_LOG_LOCAL5
_LOG_LOCAL6
_LOG_LOCAL7
_LOG_EMERG
_LOG_ALERT
_LOG_CRIT
_LOG_ERR
_LOG_WARNING
_LOG_NOTICE
_LOG_INFO
_LOG_DEBUG
closelog :: IO ()
openlog :: CString -> CInt -> CInt -> IO ()
setlogmask :: CInt -> IO CInt
_TMAGIC
_TMAGLEN
_TVERSION
_TVERSLEN
_REGTYPE
_AREGTYPE
_LNKTYPE
_SYMTYPE
_CHRTYPE
_BLKTYPE
_DIRTYPE
_FIFOTYPE
_CONTTYPE
_TSUID
_TSGID
_TSVTX
_TUREAD
_TUWRITE
_TUEXEC
_TGREAD
_TGWRITE
_TGEXEC
_TOREAD
_TOWRITE
_TOEXEC
data Termios = Termios {
termios'c_iflag :: CTcflag
termios'c_oflag :: CTcflag
termios'c_cflag :: CTcflag
termios'c_lflag :: CTcflag
termios'c_cc :: Ptr CCc
}
type CCc = Word8
type CSpeed = Word32
type CTcflag = Word32
_NCCS
_VEOF
_VEOL
_VERASE
_VINTR
_VKILL
_VMIN
_VQUIT
_VSTART
_VSTOP
_VSUSP
_VTIME
_BRKINT
_ICRNL
_IGNBRK
_IGNCR
_IGNPAR
_INLCR
_INPCK
_ISTRIP
_IXANY
_IXOFF
_IXON
_PARMRK
_OPOST
_ONLCR
_OCRNL
_ONOCR
_ONLRET
_OFDEL
_OFILL
_NLDLY
_NL0
_NL1
_CRDLY
_CR0
_CR1
_CR2
_CR3
_TABDLY
_TAB0
_TAB1
_TAB2
_TAB3
_BSDLY
_BS0
_BS1
_VTDLY
_VT0
_VT1
_FFDLY
_FF0
_FF1
_B0
_B50
_B75
_B110
_B134
_B150
_B200
_B300
_B600
_B1200
_B1800
_B2400
_B4800
_B9600
_B19200
_B38400
_CSIZE
_CS5
_CS6
_CS7
_CS8
_CSTOPB
_CREAD
_PARENB
_PARODD
_HUPCL
_CLOCAL
_ECHO
_ECHOE
_ECHOK
_ECHONL
_ICANON
_IEXTEN
_ISIG
_NOFLSH
_TOSTOP
_TCSANOW
_TCSADRAIN
_TCSAFLUSH
_TCIFLUSH
_TCIOFLUSH
_TCOFLUSH
_TCIOFF
_TCION
_TCOOFF
_TCOON
cfgetispeed :: Ptr Termios -> IO CSpeed
cfgetospeed :: Ptr Termios -> IO CSpeed
cfsetispeed :: Ptr Termios -> CSpeed -> IO CInt
cfsetospeed :: Ptr Termios -> CSpeed -> IO CInt
tcdrain :: CInt -> IO CInt
tcflow :: CInt -> CInt -> IO CInt
tcflush :: CInt -> CInt -> IO CInt
tcgetattr :: CInt -> Ptr Termios -> IO CInt
tcgetsid :: CInt -> IO CPid
tcsendbreak :: CInt -> CInt -> IO CInt
tcsetattr :: CInt -> CInt -> Ptr Termios -> IO CInt
data Timespec = Timespec {
timespec'tv_sec :: CTime
timespec'tv_nsec :: CLong
}
data Itimerspec = Itimerspec {
itimerspec'it_interval :: Timespec
itimerspec'it_value :: Timespec
}
_CLOCK_MONOTONIC
_CLOCK_PROCESS_CPUTIME_ID
_CLOCK_REALTIME
_CLOCK_THREAD_CPUTIME_ID
clock_getcpuclockid :: CPid -> Ptr CClockid -> IO CInt
clock_getres :: CClockid -> Ptr Timespec -> IO CInt
clock_gettime :: CClockid -> Ptr Timespec -> IO CInt
clock_nanosleep :: CClockid -> CInt -> Ptr Timespec -> Ptr Timespec -> IO CInt
clock_settime :: CClockid -> Ptr Timespec -> IO CInt
getdate :: CString -> IO (Ptr Tm)
gmtime_r :: Ptr CTime -> Ptr Tm -> IO (Ptr Tm)
localtime_r :: Ptr CTime -> Ptr Tm -> IO (Ptr Tm)
nanosleep :: Ptr Timespec -> Ptr timespec -> IO CInt
strptime :: CString -> CString -> Ptr Tm -> IO CString
timer_create :: CClockid -> Ptr Sigevent -> Ptr CTimer -> IO CInt
timer_delete :: CTimer -> IO CInt
timer_getoverrun :: CTimer -> IO CInt
timer_gettime :: CTimer -> Ptr Itimerspec -> IO CInt
timer_settime :: CTimer -> CInt -> Ptr Itimerspec -> Ptr Itimerspec -> IO CInt
tzset :: IO ()
daylight :: GlobalVariable (Ptr CInt)
timezone :: GlobalVariable (Ptr CLong)
tzname :: GlobalVariable (Ptr (Ptr (Ptr CString)))
__POSIX_ASYNC_IO
_F_OK
_R_OK
_W_OK
_X_OK
_F_LOCK
_F_TEST
_F_TLOCK
_F_ULOCK
__PC_2_SYMLINKS
__PC_ALLOC_SIZE_MIN
__PC_ASYNC_IO
__PC_CHOWN_RESTRICTED
__PC_FILESIZEBITS
__PC_LINK_MAX
__PC_MAX_CANON
__PC_MAX_INPUT
__PC_NAME_MAX
__PC_NO_TRUNC
__PC_PATH_MAX
__PC_PIPE_BUF
__PC_PRIO_IO
__PC_REC_INCR_XFER_SIZE
__PC_REC_MAX_XFER_SIZE
__PC_REC_MIN_XFER_SIZE
__PC_REC_XFER_ALIGN
__PC_SYMLINK_MAX
__PC_SYNC_IO
__PC_VDISABLE
__SC_2_C_BIND
__SC_2_C_DEV
__SC_2_CHAR_TERM
__SC_2_FORT_DEV
__SC_2_FORT_RUN
__SC_2_LOCALEDEF
__SC_2_PBS
__SC_2_PBS_ACCOUNTING
__SC_2_PBS_CHECKPOINT
__SC_2_PBS_LOCATE
__SC_2_PBS_MESSAGE
__SC_2_PBS_TRACK
__SC_2_SW_DEV
__SC_2_UPE
__SC_2_VERSION
__SC_ADVISORY_INFO
__SC_AIO_LISTIO_MAX
__SC_AIO_MAX
__SC_AIO_PRIO_DELTA_MAX
__SC_ARG_MAX
__SC_ASYNCHRONOUS_IO
__SC_ATEXIT_MAX
__SC_BARRIERS
__SC_BC_BASE_MAX
__SC_BC_DIM_MAX
__SC_BC_SCALE_MAX
__SC_BC_STRING_MAX
__SC_CHILD_MAX
__SC_CLK_TCK
__SC_CLOCK_SELECTION
__SC_COLL_WEIGHTS_MAX
__SC_CPUTIME
__SC_DELAYTIMER_MAX
__SC_EXPR_NEST_MAX
__SC_FSYNC
__SC_GETGR_R_SIZE_MAX
__SC_GETPW_R_SIZE_MAX
__SC_HOST_NAME_MAX
__SC_IOV_MAX
__SC_IPV6
__SC_JOB_CONTROL
__SC_LINE_MAX
__SC_LOGIN_NAME_MAX
__SC_MAPPED_FILES
__SC_MEMLOCK
__SC_MEMLOCK_RANGE
__SC_MEMORY_PROTECTION
__SC_MESSAGE_PASSING
__SC_MONOTONIC_CLOCK
__SC_MQ_OPEN_MAX
__SC_MQ_PRIO_MAX
__SC_NGROUPS_MAX
__SC_OPEN_MAX
__SC_PAGE_SIZE
__SC_PAGESIZE
__SC_PRIORITIZED_IO
__SC_PRIORITY_SCHEDULING
__SC_RAW_SOCKETS
__SC_RE_DUP_MAX
__SC_READER_WRITER_LOCKS
__SC_REALTIME_SIGNALS
__SC_REGEXP
__SC_RTSIG_MAX
__SC_SAVED_IDS
__SC_SEM_NSEMS_MAX
__SC_SEM_VALUE_MAX
__SC_SEMAPHORES
__SC_SHARED_MEMORY_OBJECTS
__SC_SHELL
__SC_SIGQUEUE_MAX
__SC_SPAWN
__SC_SPIN_LOCKS
__SC_SPORADIC_SERVER
__SC_STREAM_MAX
__SC_SYMLOOP_MAX
__SC_SYNCHRONIZED_IO
__SC_THREAD_ATTR_STACKADDR
__SC_THREAD_ATTR_STACKSIZE
__SC_THREAD_CPUTIME
__SC_THREAD_DESTRUCTOR_ITERATIONS
__SC_THREAD_KEYS_MAX
__SC_THREAD_PRIO_INHERIT
__SC_THREAD_PRIO_PROTECT
__SC_THREAD_PRIORITY_SCHEDULING
__SC_THREAD_PROCESS_SHARED
__SC_THREAD_SAFE_FUNCTIONS
__SC_THREAD_SPORADIC_SERVER
__SC_THREAD_STACK_MIN
__SC_THREAD_THREADS_MAX
__SC_THREADS
__SC_TIMEOUTS
__SC_TIMER_MAX
__SC_TIMERS
__SC_TRACE
__SC_TRACE_EVENT_FILTER
__SC_TRACE_INHERIT
__SC_TRACE_LOG
__SC_TTY_NAME_MAX
__SC_TYPED_MEMORY_OBJECTS
__SC_TZNAME_MAX
__SC_VERSION
__SC_XOPEN_CRYPT
__SC_XOPEN_ENH_I18N
__SC_XOPEN_REALTIME
__SC_XOPEN_REALTIME_THREADS
__SC_XOPEN_SHM
__SC_XOPEN_UNIX
__SC_XOPEN_VERSION
_STDERR_FILENO
_STDIN_FILENO
_STDOUT_FILENO
access :: CString -> CInt -> IO CInt
alarm :: CUInt -> IO CUInt
chdir :: CString -> IO CInt
chown :: CString -> CUid -> CGid -> IO CInt
close :: CInt -> IO CInt
confstr :: CInt -> CString -> CSize -> IO CSize
dup :: CInt -> IO CInt
dup2 :: CInt -> CInt -> IO CInt
__exit :: CInt -> IO ()
execv :: CString -> Ptr CString -> IO CInt
execve :: CString -> Ptr CString -> Ptr CString -> IO CInt
execvp :: CString -> Ptr CString -> IO CInt
faccessat :: CInt -> CString -> CInt -> CInt -> IO CInt
fchdir :: CInt -> IO CInt
fchown :: CInt -> CUid -> CGid -> IO CInt
fchownat :: CInt -> CString -> CUid -> CGid -> CInt -> IO CInt
fdatasync :: CInt -> IO CInt
fexecve :: CInt -> Ptr CString -> Ptr CString -> IO CInt
fork :: IO CPid
fpathconf :: CInt -> CInt -> IO CLong
fsync :: CInt -> IO CInt
ftruncate :: CInt -> COff -> IO CInt
getcwd :: CString -> CSize -> IO CString
getegid :: IO CGid
geteuid :: IO CUid
getgid :: IO CGid
getgroups :: CInt -> Ptr CGid -> IO CInt
gethostid :: IO CLong
gethostname :: CString -> CSize -> IO CInt
getlogin :: IO CString
getlogin_r :: CString -> CSize -> IO CInt
getopt :: CInt -> Ptr CString -> CString -> IO CInt
getpgid :: CPid -> IO CPid
getpgrp :: IO CPid
getpid :: IO CPid
getppid :: IO CPid
getsid :: CPid -> IO CPid
getuid :: IO CUid
isatty :: CInt -> IO CInt
lchown :: CString -> CUid -> CGid -> IO CInt
link :: CString -> CString -> IO CInt
linkat :: CInt -> CString -> CInt -> CString -> CInt -> IO CInt
lockf :: CInt -> CInt -> COff -> IO CInt
lseek :: CInt -> COff -> CInt -> IO COff
nice :: CInt -> IO CInt
pathconf :: CString -> CInt -> IO CLong
pause :: IO CInt
pipe :: Ptr CInt -> IO CInt
pread :: CInt -> Ptr () -> CSize -> COff -> IO CSSize
pwrite :: CInt -> Ptr () -> CSize -> COff -> IO CSSize
read :: CInt -> Ptr () -> CSize -> IO CSSize
readlink :: CString -> CString -> CSize -> IO CSSize
readlinkat :: CInt -> CString -> CString -> CSize -> IO CSSize
rmdir :: CString -> IO CInt
setegid :: CGid -> IO CInt
seteuid :: CUid -> IO CInt
setgid :: CGid -> IO CInt
setpgid :: CPid -> CPid -> IO CInt
setregid :: CGid -> CGid -> IO CInt
setreuid :: CUid -> CUid -> IO CInt
setsid :: IO CPid
setuid :: CUid -> IO CInt
sleep :: CUInt -> IO CUInt
swab :: Ptr () -> Ptr () -> CSSize -> IO ()
symlink :: CString -> CString -> IO CInt
symlinkat :: CString -> CInt -> CString -> IO CInt
sync :: IO ()
sysconf :: CInt -> IO CULong
tcgetpgrp :: CInt -> IO CPid
tcsetpgrp :: CInt -> CPid -> IO CInt
truncate :: CString -> COff -> IO CInt
ttyname :: CInt -> IO CString
ttyname_r :: CInt -> CString -> CSize -> IO CInt
unlink :: CString -> IO CInt
unlinkat :: CInt -> CString -> CInt -> IO CInt
write :: CInt -> Ptr () -> CSize -> IO CSSize
optarg :: GlobalVariable (Ptr CString)
opterr :: GlobalVariable (Ptr CInt)
optind :: GlobalVariable (Ptr CInt)
optopt :: GlobalVariable (Ptr CInt)
data Utmpx = Utmpx {
utmpx'ut_user :: CChar
utmpx'ut_id :: CString
utmpx'ut_line :: CChar
utmpx'ut_pid :: CPid
utmpx'ut_type :: CShort
utmpx'ut_tv :: Timeval
}
_BOOT_TIME
_OLD_TIME
_NEW_TIME
_USER_PROCESS
_INIT_PROCESS
_LOGIN_PROCESS
_DEAD_PROCESS
endutxent :: IO ()
getutxent :: IO (Ptr Utmpx)
getutxid :: Ptr Utmpx -> IO (Ptr Utmpx)
getutxline :: Ptr Utmpx -> IO (Ptr Utmpx)
pututxline :: Ptr Utmpx -> IO (Ptr Utmpx)
setutxent :: IO ()
mbsnrtowcs :: Ptr CWchar -> Ptr CString -> CSize -> CSize -> Ptr Mbstate_t -> IO CSize
open_wmemstream :: Ptr (Ptr CWchar) -> Ptr CSize -> IO (Ptr CFile)
wcpcpy :: Ptr CWchar -> Ptr CWchar -> IO (Ptr CWchar)
wcpncpy :: Ptr CWchar -> Ptr CWchar -> CSize -> IO CWchar
wcscasecmp :: Ptr CWchar -> Ptr CWchar -> IO CInt
wcsdup :: Ptr CWchar -> IO CWchar
wcsncasecmp :: Ptr CWchar -> Ptr CWchar -> CSize -> IO CInt
wcsnlen :: Ptr CWchar -> CSize -> IO CSize
wcsnrtombs :: CString -> Ptr (Ptr CWchar) -> CSize -> CSize -> Ptr Mbstate_t -> IO CSize
wcswidth :: Ptr CWchar -> CSize -> IO CInt
data Wordexp_t = Wordexp_t {
wordexp_t'we_wordc :: CSize
wordexp_t'we_wordv :: Ptr CString
wordexp_t'we_offs :: CSize
}
_WRDE_APPEND
_WRDE_DOOFFS
_WRDE_NOCMD
_WRDE_REUSE
_WRDE_SHOWERR
_WRDE_UNDEF
_WRDE_BADCHAR
_WRDE_BADVAL
_WRDE_CMDSUB
_WRDE_NOSPACE
_WRDE_SYNTAX
wordexp :: CString -> Ptr Wordexp_t -> CInt -> IO CInt
wordfree :: Ptr Wordexp_t -> IO ()
aio.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/aio.h.html
data Aiocb Source
Constructors
Aiocb
aiocb'aio_fildes :: CInt
aiocb'aio_offset :: COff
aiocb'aio_buf :: Ptr ()
aiocb'aio_nbytes :: CSize
aiocb'aio_reqprio :: CInt
aiocb'aio_sigevent :: Sigevent
aiocb'aio_lio_opcode :: CInt
show/hide Instances
_AIO_ALLDONE
_AIO_CANCELED
_AIO_NOTCANCELED
_LIO_NOP
_LIO_NOWAIT
_LIO_READ
_LIO_WAIT
_LIO_WRITE
aio_cancel :: CInt -> Ptr Aiocb -> IO CIntSource
aio_error :: Ptr Aiocb -> IO CIntSource
aio_fsync :: CInt -> Ptr Aiocb -> IO CIntSource
aio_read :: Ptr Aiocb -> IO CIntSource
aio_return :: Ptr Aiocb -> IO CSSizeSource
aio_suspend :: Ptr (Ptr Aiocb) -> CInt -> Ptr Timespec -> IO CIntSource
aio_write :: Ptr Aiocb -> IO CIntSource
lio_listio :: CInt -> Ptr (Ptr Aiocb) -> CInt -> Ptr Sigevent -> IO CIntSource
arpa/inet.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/arpa_inet.h.html
htonl :: Word32 -> IO Word32Source
htons :: Word16 -> IO Word16Source
ntohl :: Word32 -> IO Word32Source
ntohs :: Word16 -> IO Word16Source
inet_addr :: CString -> IO CInAddrSource
inet_ntop :: CInt -> Ptr () -> CString -> CSocklen -> IO CStringSource
inet_pton :: CInt -> CString -> Ptr () -> IO CIntSource
cpio.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/cpio.h.html
_C_IRUSR
_C_IWUSR
_C_IXUSR
_C_IRGRP
_C_IWGRP
_C_IXGRP
_C_IROTH
_C_IWOTH
_C_IXOTH
_C_ISUID
_C_ISGID
_C_ISVTX
_C_ISDIR
_C_ISFIFO
_C_ISREG
_C_ISBLK
_C_ISCHR
_C_ISCTG
_C_ISLNK
_C_ISSOCK
_MAGIC
ctype.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/ctype.h.html
dirent.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/dirent.h.html
data Dirent Source
Constructors
Dirent
dirent'd_ino :: CIno
dirent'd_name :: CString
show/hide Instances
data DIR Source
alphasort :: Ptr (Ptr Dirent) -> Ptr (Ptr Dirent) -> IO CIntSource
closedir :: Ptr DIR -> IO CIntSource
dirfd :: Ptr DIR -> IO CIntSource
fdopendir :: CInt -> IO (Ptr DIR)Source
opendir :: CString -> IO (Ptr DIR)Source
readdir :: Ptr DIR -> IO (Ptr Dirent)Source
readdir_r :: Ptr DIR -> Ptr Dirent -> Ptr (Ptr Dirent) -> IO CIntSource
rewinddir :: Ptr DIR -> IO ()Source
scandir :: CString -> Ptr (Ptr (Ptr Dirent)) -> FunPtr (Ptr Dirent -> IO CInt) -> FunPtr (Ptr (Ptr Dirent) -> Ptr (Ptr Dirent) -> IO CInt) -> IO CIntSource
seekdir :: Ptr DIR -> CLong -> IO ()Source
telldir :: Ptr DIR -> IO CLongSource
dlfcn.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/dlfcn.h.html
_RTLD_LAZY
_RTLD_NOW
_RTLD_GLOBAL
_RTLD_LOCAL
dlclose :: Ptr () -> IO CIntSource
dlerror :: IO CStringSource
dlopen :: CString -> CInt -> IO (Ptr ())Source
dlsym :: Ptr () -> CString -> IO (Ptr ())Source
errno.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/errno.h.html
_E2BIG
_EACCES
_EADDRINUSE
_EADDRNOTAVAIL
_EAFNOSUPPORT
_EAGAIN
_EALREADY
_EBADF
_EBADMSG
_EBUSY
_ECANCELED
_ECHILD
_ECONNABORTED
_ECONNREFUSED
_ECONNRESET
_EDEADLK
_EDESTADDRREQ
_EDQUOT
_EEXIST
_EFAULT
_EFBIG
_EHOSTUNREACH
_EIDRM
_EINPROGRESS
_EINTR
_EINVAL
_EIO
_EISCONN
_EISDIR
_ELOOP
_EMFILE
_EMLINK
_EMSGSIZE
_EMULTIHOP
_ENAMETOOLONG
_ENETDOWN
_ENETRESET
_ENETUNREACH
_ENFILE
_ENOBUFS
_ENODEV
_ENOENT
_ENOEXEC
_ENOLCK
_ENOLINK
_ENOMEM
_ENOMSG
_ENOPROTOOPT
_ENOSPC
_ENOSYS
_ENOTCONN
_ENOTDIR
_ENOTEMPTY
_ENOTRECOVERABLE
_ENOTSOCK
_ENOTSUP
_ENOTTY
_ENXIO
_EOPNOTSUPP
_EOVERFLOW
_EOWNERDEAD
_EPERM
_EPIPE
_EPROTO
_EPROTONOSUPPORT
_EPROTOTYPE
_EROFS
_ESPIPE
_ESRCH
_ESTALE
_ETIMEDOUT
_ETXTBSY
_EWOULDBLOCK
_EXDEV
fcntl.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/fcntl.h.html
_F_DUPFD
_F_GETFD
_F_SETFD
_F_GETFL
_F_SETFL
_F_GETLK
_F_SETLK
_F_SETLKW
_F_GETOWN
_F_SETOWN
_FD_CLOEXEC
_F_RDLCK
_F_UNLCK
_F_WRLCK
_O_CREAT
_O_EXCL
_O_NOCTTY
_O_TRUNC
_O_APPEND
_O_DSYNC
_O_NONBLOCK
_O_RSYNC
_O_SYNC
_O_ACCMODE
_O_RDONLY
_O_RDWR
_O_WRONLY
_POSIX_FADV_DONTNEED
_POSIX_FADV_NOREUSE
_POSIX_FADV_NORMAL
_POSIX_FADV_RANDOM
_POSIX_FADV_SEQUENTIAL
_POSIX_FADV_WILLNEED
data Flock Source
Constructors
Flock
flock'l_type :: CShort
flock'l_whence :: CShort
flock'l_start :: COff
flock'l_len :: COff
flock'l_pid :: CPid
show/hide Instances
creat :: CString -> CMode -> IO CIntSource
posix_fadvise :: CInt -> COff -> COff -> CInt -> IO CIntSource
posix_fallocate :: CInt -> COff -> COff -> IO CIntSource
fmtmsg.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/fmtmsg.h.html
_MM_HARD
_MM_SOFT
_MM_FIRM
_MM_APPL
_MM_UTIL
_MM_OPSYS
_MM_RECOVER
_MM_NRECOV
_MM_HALT
_MM_ERROR
_MM_WARNING
_MM_INFO
_MM_NOSEV
_MM_PRINT
_MM_CONSOLE
_MM_NULLLBL
_MM_NULLSEV
_MM_NULLMC
_MM_NULLTXT
_MM_NULLACT
_MM_NULLTAG
_MM_OK
_MM_NOTOK
_MM_NOMSG
_MM_NOCON
fmtmsg :: CLong -> CString -> CInt -> CString -> CString -> CString -> IO CIntSource
fnmatch.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/fnmatch.h.html
_FNM_NOMATCH
_FNM_PATHNAME
_FNM_PERIOD
_FNM_NOESCAPE
fnmatch :: CString -> CString -> CInt -> IO CIntSource
ftw.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/ftw.h.html
_FTW_F
_FTW_D
_FTW_DNR
_FTW_NS
_FTW_SL
glob.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/glob.h.html
data Glob_t Source
Constructors
Glob_t
glob_t'gl_pathc :: CSize
glob_t'gl_pathv :: Ptr CString
glob_t'gl_offs :: CSize
show/hide Instances
_GLOB_APPEND
_GLOB_DOOFFS
_GLOB_ERR
_GLOB_MARK
_GLOB_NOCHECK
_GLOB_NOESCAPE
_GLOB_NOSORT
_GLOB_ABORTED
_GLOB_NOMATCH
_GLOB_NOSPACE
glob :: CString -> CInt -> FunPtr (CString -> CInt -> IO CInt) -> IO CIntSource
globfree :: Ptr Glob_t -> IO ()Source
grp.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/grp.h.html
data Group Source
Constructors
Group
group'gr_name :: CString
group'gr_gid :: CGid
group'gr_mem :: Ptr CString
show/hide Instances
endgrent :: IO ()Source
getgrent :: IO (Ptr Group)Source
getgrgid :: CGid -> IO (Ptr Group)Source
getgrgid_r :: CGid -> Ptr Group -> CString -> CSize -> Ptr (Ptr Group) -> IO CIntSource
getgrnam :: CString -> IO (Ptr Group)Source
getgrnam_r :: CString -> Ptr Group -> CString -> CSize -> Ptr (Ptr Group) -> IO CIntSource
setgrent :: IO ()Source
iconv.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/iconv.h.html
type CIconv = Word32Source
iconv :: CIconv -> Ptr CString -> Ptr CSize -> Ptr CString -> Ptr CSize -> IO CSizeSource
iconv_close :: CIconv -> IO CIntSource
iconv_open :: CString -> CString -> IO CIconvSource
langinfo.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/langinfo.h.html
type CNlItem = Int32Source
_CODESET
_D_T_FMT
_D_FMT
_T_FMT
_T_FMT_AMPM
_AM_STR
_PM_STR
_DAY_1
_DAY_2
_DAY_3
_DAY_4
_DAY_5
_DAY_6
_DAY_7
_ABDAY_1
_ABDAY_2
_ABDAY_3
_ABDAY_4
_ABDAY_5
_ABDAY_6
_ABDAY_7
_MON_1
_MON_2
_MON_3
_MON_4
_MON_5
_MON_6
_MON_7
_MON_8
_MON_9
_MON_10
_MON_11
_MON_12
_ABMON_1
_ABMON_2
_ABMON_3
_ABMON_4
_ABMON_5
_ABMON_6
_ABMON_7
_ABMON_8
_ABMON_9
_ABMON_10
_ABMON_11
_ABMON_12
_ERA
_ERA_D_FMT
_ERA_D_T_FMT
_ERA_T_FMT
_ALT_DIGITS
_RADIXCHAR
_THOUSEP
_YESEXPR
_NOEXPR
_CRNCYSTR
nl_langinfo :: CNlItem -> IO CStringSource
libgen.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/libgen.h.html
basename :: CString -> IO CStringSource
dirname :: CString -> IO CStringSource
locale.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/locale.h.html
_LC_MESSAGES
math
http://www.opengroup.org/onlinepubs/9699919799/basedefs/math.h.html
_M_E
_M_LOG2E
_M_LOG10E
_M_LN2
_M_LN10
_M_PI
_M_PI_2
_M_PI_4
_M_1_PI
_M_2_PI
_M_2_SQRTPI
_M_SQRT2
_M_SQRT1_2
j0 :: CDouble -> IO CDoubleSource
j1 :: CDouble -> IO CDoubleSource
jn :: CInt -> CDouble -> IO CDoubleSource
y0 :: CDouble -> IO CDoubleSource
y1 :: CDouble -> IO CDoubleSource
yn :: CInt -> CDouble -> IO CDoubleSource
signgam :: GlobalVariable (Ptr CInt)Source
monetary.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/monetary.h.html
mqueue.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/mqueue.h.html
data Mq_attr Source
Constructors
Mq_attr
mq_attr'mq_flags :: CLong
mq_attr'mq_maxmsg :: CLong
mq_attr'mq_msgsize :: CLong
mq_attr'mq_curmsgs :: CLong
show/hide Instances
type CMqd = Int32Source
mq_close :: CMqd -> IO CIntSource
mq_getattr :: CMqd -> Ptr Mq_attr -> IO CIntSource
mq_notify :: CMqd -> Ptr Sigevent -> IO CIntSource
mq_receive :: CMqd -> CString -> CSize -> Ptr CUInt -> IO CSSizeSource
mq_send :: CMqd -> CString -> CSize -> CUInt -> IO CIntSource
mq_setattr :: CMqd -> Ptr Mq_attr -> Ptr Mq_attr -> IO CIntSource
mq_timedreceive :: CMqd -> CString -> CSize -> Ptr CUInt -> Ptr Timespec -> IO CSSizeSource
mq_timedsend :: CMqd -> CString -> CSize -> CUInt -> Ptr Timespec -> IO CIntSource
mq_unlink :: CString -> IO CIntSource
net/if.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/net_if.h.html
data If_nameindex Source
Constructors
If_nameindex
if_nameindex'if_index :: CUInt
if_nameindex'if_name :: CString
show/hide Instances
_IF_NAMESIZE
if_freenameindex :: Ptr If_nameindex -> IO ()Source
if_indextoname :: CUInt -> CString -> IO CStringSource
if_nameindex :: IO (Ptr If_nameindex)Source
if_nametoindex :: CString -> IO CUIntSource
netdb.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/netdb.h.html
data Hostent Source
Constructors
Hostent
hostent'h_name :: CString
hostent'h_aliases :: Ptr CString
hostent'h_addrtype :: CInt
hostent'h_length :: CInt
hostent'h_addr_list :: Ptr CString
show/hide Instances
data Netent Source
Constructors
Netent
netent'n_name :: CString
netent'n_aliases :: Ptr CString
netent'n_addrtype :: CInt
netent'n_net :: Word32
show/hide Instances
data Protoent Source
Constructors
Protoent
protoent'p_name :: CString
protoent'p_aliases :: Ptr CString
protoent'p_proto :: CInt
show/hide Instances
data Servent Source
Constructors
Servent
servent's_name :: CString
servent's_aliases :: Ptr CString
servent's_port :: CInt
servent's_proto :: CString
show/hide Instances
data Addrinfo Source
Constructors
Addrinfo
addrinfo'ai_flags :: CInt
addrinfo'ai_family :: CInt
addrinfo'ai_socktype :: CInt
addrinfo'ai_protocol :: CInt
addrinfo'ai_addrlen :: CSocklen
addrinfo'ai_addr :: Ptr Sockaddr
addrinfo'ai_canonname :: CString
addrinfo'ai_next :: Ptr Addrinfo
show/hide Instances
_AI_PASSIVE
_AI_CANONNAME
_AI_NUMERICHOST
_AI_NUMERICSERV
_AI_V4MAPPED
_AI_ALL
_AI_ADDRCONFIG
_NI_NOFQDN
_NI_NUMERICHOST
_NI_NAMEREQD
_NI_NUMERICSERV
_NI_DGRAM
_EAI_AGAIN
_EAI_BADFLAGS
_EAI_FAIL
_EAI_FAMILY
_EAI_MEMORY
_EAI_NONAME
_EAI_SERVICE
_EAI_SOCKTYPE
_EAI_SYSTEM
_EAI_OVERFLOW
endhostent :: IO ()Source
endnetent :: IO ()Source
endprotoent :: IO ()Source
endservent :: IO ()Source
freeaddrinfo :: Ptr Addrinfo -> IO ()Source
gai_strerror :: CInt -> IO CStringSource
getaddrinfo :: CString -> CString -> Ptr Addrinfo -> Ptr (Ptr Addrinfo) -> IO CIntSource
gethostent :: IO (Ptr Hostent)Source
getnameinfo :: Ptr Sockaddr -> CSocklen -> CString -> CSocklen -> CString -> CSocklen -> CInt -> IO CIntSource
getnetbyaddr :: Word32 -> CInt -> IO (Ptr Netent)Source
getnetbyname :: CString -> IO (Ptr Netent)Source
getnetent :: IO (Ptr Netent)Source
getprotobyname :: CString -> IO (Ptr Protoent)Source
getprotobynumber :: CInt -> IO (Ptr Protoent)Source
getprotoent :: IO (Ptr Protoent)Source
getservbyname :: CString -> CString -> IO (Ptr Servent)Source
getservbyport :: CInt -> CString -> IO (Ptr Servent)Source
getservent :: IO (Ptr Servent)Source
sethostent :: CInt -> IO ()Source
setnetent :: CInt -> IO ()Source
setprotoent :: CInt -> IO ()Source
setservent :: CInt -> IO ()Source
netinet/in.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/netinet_in.h.html
data In_addr Source
Constructors
In_addr
in_addr's_addr :: CInAddr
show/hide Instances
data Sockaddr_in Source
Constructors
Sockaddr_in
sockaddr_in'sin_family :: CSaFamily
sockaddr_in'sin_port :: CInPort
sockaddr_in'sin_addr :: In_addr
show/hide Instances
data In6_addr Source
Constructors
In6_addr
in6_addr's6_addr :: Ptr Word8
show/hide Instances
data Sockaddr_in6 Source
Constructors
Sockaddr_in6
sockaddr_in6'sin6_family :: CSaFamily
sockaddr_in6'sin6_port :: CInPort
sockaddr_in6'sin6_flowinfo :: Word32
sockaddr_in6'sin6_addr :: In6_addr
sockaddr_in6'sin6_scope_id :: Word32
show/hide Instances
data Ipv6_mreq Source
Constructors
Ipv6_mreq
ipv6_mreq'ipv6mr_multiaddr :: In6_addr
ipv6_mreq'ipv6mr_interface :: CUInt
show/hide Instances
type CInPort = Word16Source
type CInAddr = Word32Source
_IPPROTO_IP
_IPPROTO_IPV6
_IPPROTO_ICMP
_IPPROTO_RAW
_IPPROTO_TCP
_IPPROTO_UDP
_INADDR_ANY
_INADDR_BROADCAST
_INET_ADDRSTRLEN
_IPV6_JOIN_GROUP
_IPV6_LEAVE_GROUP
_IPV6_MULTICAST_HOPS
_IPV6_MULTICAST_IF
_IPV6_MULTICAST_LOOP
_IPV6_UNICAST_HOPS
_IPV6_V6ONLY
netinet/tcp.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/netinet_tcp.h.html
_TCP_NODELAY
nl_types.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/nl_types.h.html
type CNlCatd = Word32Source
_NL_SETD
_NL_CAT_LOCALE
catclose :: CNlCatd -> IO CIntSource
catgets :: CNlCatd -> CInt -> CInt -> CString -> IO CStringSource
catopen :: CString -> CInt -> IO CNlCatdSource
poll.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/poll.h.html
data Pollfd Source
Constructors
Pollfd
pollfd'fd :: CInt
pollfd'events :: CShort
pollfd'revents :: CShort
show/hide Instances
type CNfds = Word32Source
_POLLIN
_POLLPRI
_POLLOUT
_POLLERR
_POLLHUP
_POLLNVAL
poll :: Ptr Pollfd -> CNfds -> CInt -> IO CIntSource
pthread.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/pthread.h.html
_PTHREAD_BARRIER_SERIAL_THREAD
_PTHREAD_CANCEL_ASYNCHRONOUS
_PTHREAD_CANCEL_ENABLE
_PTHREAD_CANCEL_DEFERRED
_PTHREAD_CANCEL_DISABLE
_PTHREAD_CANCELED
_PTHREAD_CREATE_DETACHED
_PTHREAD_CREATE_JOINABLE
_PTHREAD_EXPLICIT_SCHED
_PTHREAD_INHERIT_SCHED
_PTHREAD_ONCE_INIT
_PTHREAD_PROCESS_SHARED
_PTHREAD_PROCESS_PRIVATE
_PTHREAD_SCOPE_PROCESS
_PTHREAD_SCOPE_SYSTEM
pthread_attr_destroy :: Ptr Pthread_attr_t -> IO CIntSource
pthread_attr_getdetachstate :: Ptr Pthread_attr_t -> Ptr CInt -> IO CIntSource
pthread_attr_getguardsize :: Ptr Pthread_attr_t -> Ptr CSize -> IO CIntSource
pthread_attr_getinheritsched :: Ptr Pthread_attr_t -> Ptr CInt -> IO CIntSource
pthread_attr_getschedparam :: Ptr Pthread_attr_t -> Ptr Sched_param -> IO CIntSource
pthread_attr_getschedpolicy :: Ptr Pthread_attr_t -> Ptr CInt -> IO CIntSource
pthread_attr_getscope :: Ptr Pthread_attr_t -> Ptr CInt -> IO CIntSource
pthread_attr_getstack :: Ptr Pthread_attr_t -> Ptr (Ptr ()) -> Ptr CSize -> IO CIntSource
pthread_attr_getstacksize :: Ptr Pthread_attr_t -> Ptr CSize -> IO CIntSource
pthread_attr_init :: Ptr Pthread_attr_t -> IO CIntSource
pthread_attr_setdetachstate :: Ptr Pthread_attr_t -> CInt -> IO CIntSource
pthread_attr_setguardsize :: Ptr Pthread_attr_t -> CSize -> IO CIntSource
pthread_attr_setinheritsched :: Ptr Pthread_attr_t -> CInt -> IO CIntSource
pthread_attr_setschedparam :: Ptr Pthread_attr_t -> Ptr Sched_param -> IO CIntSource
pthread_attr_setschedpolicy :: Ptr Pthread_attr_t -> CInt -> IO CIntSource
pthread_attr_setscope :: Ptr Pthread_attr_t -> CInt -> IO CIntSource
pthread_attr_setstack :: Ptr Pthread_attr_t -> Ptr void -> CSize -> IO CIntSource
pthread_attr_setstacksize :: Ptr Pthread_attr_t -> CSize -> IO CIntSource
pthread_barrier_destroy :: Ptr Pthread_barrier_t -> IO CIntSource
pthread_barrier_init :: Ptr Pthread_barrier_t -> Ptr Pthread_barrierattr_t -> CUInt -> IO CIntSource
pthread_barrier_wait :: Ptr Pthread_barrier_t -> IO CIntSource
pthread_barrierattr_destroy :: Ptr Pthread_barrierattr_t -> IO CIntSource
pthread_barrierattr_getpshared :: Ptr Pthread_barrierattr_t -> Ptr CInt -> IO CIntSource
pthread_barrierattr_init :: Ptr Pthread_barrierattr_t -> IO CIntSource
pthread_barrierattr_setpshared :: Ptr Pthread_barrierattr_t -> CInt -> IO CIntSource
pthread_cond_broadcast :: Ptr Pthread_cond_t -> IO CIntSource
pthread_cond_destroy :: Ptr Pthread_cond_t -> IO CIntSource
pthread_cond_init :: Ptr Pthread_cond_t -> Ptr Pthread_condattr_t -> IO CIntSource
pthread_cond_signal :: Ptr Pthread_cond_t -> IO CIntSource
pthread_cond_timedwait :: Ptr Pthread_cond_t -> Ptr Pthread_mutex_t -> Ptr timespec -> IO CIntSource
pthread_cond_wait :: Ptr Pthread_cond_t -> Ptr Pthread_mutex_t -> IO CIntSource
pthread_condattr_destroy :: Ptr Pthread_condattr_t -> IO CIntSource
pthread_condattr_getclock :: Ptr Pthread_condattr_t -> Ptr clockid_t -> IO CIntSource
pthread_condattr_getpshared :: Ptr Pthread_condattr_t -> Ptr CInt -> IO CIntSource
pthread_condattr_init :: Ptr Pthread_condattr_t -> IO CIntSource
pthread_condattr_setclock :: Ptr Pthread_condattr_t -> CClock -> IO CIntSource
pthread_condattr_setpshared :: Ptr Pthread_condattr_t -> CInt -> IO CIntSource
pthread_create :: Ptr Pthread_t -> Ptr Pthread_attr_t -> FunPtr (Ptr () -> IO (Ptr ())) -> Ptr void -> IO CIntSource
pthread_exit :: Ptr () -> IO ()Source
pthread_key_create :: Ptr Pthread_key_t -> FunPtr (Ptr () -> IO (Ptr ())) -> IO CIntSource
pthread_mutex_destroy :: Ptr Pthread_mutex_t -> IO CIntSource
pthread_mutex_getprioceiling :: Ptr Pthread_mutex_t -> Ptr CInt -> IO CIntSource
pthread_mutex_init :: Ptr Pthread_mutex_t -> Ptr Pthread_mutexattr_t -> IO CIntSource
pthread_mutex_lock :: Ptr Pthread_mutex_t -> IO CIntSource
pthread_mutex_setprioceiling :: Ptr Pthread_mutex_t -> CInt -> Ptr CInt -> IO CIntSource
pthread_mutex_timedlock :: Ptr Pthread_mutex_t -> Ptr timespec -> IO CIntSource
pthread_mutex_trylock :: Ptr Pthread_mutex_t -> IO CIntSource
pthread_mutex_unlock :: Ptr Pthread_mutex_t -> IO CIntSource
pthread_mutexattr_destroy :: Ptr Pthread_mutexattr_t -> IO CIntSource
pthread_mutexattr_getprioceiling :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CIntSource
pthread_mutexattr_getprotocol :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CIntSource
pthread_mutexattr_getpshared :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CIntSource
pthread_mutexattr_gettype :: Ptr Pthread_mutexattr_t -> Ptr CInt -> IO CIntSource
pthread_mutexattr_init :: Ptr Pthread_mutexattr_t -> IO CIntSource
pthread_mutexattr_setprioceiling :: Ptr Pthread_mutexattr_t -> CInt -> IO CIntSource
pthread_mutexattr_setprotocol :: Ptr Pthread_mutexattr_t -> CInt -> IO CIntSource
pthread_mutexattr_setpshared :: Ptr Pthread_mutexattr_t -> CInt -> IO CIntSource
pthread_mutexattr_settype :: Ptr Pthread_mutexattr_t -> CInt -> IO CIntSource
pthread_once :: Ptr Pthread_once_t -> FunPtr (IO ()) -> IO CIntSource
pthread_rwlock_destroy :: Ptr Pthread_rwlock_t -> IO CIntSource
pthread_rwlock_init :: Ptr Pthread_rwlock_t -> Ptr Pthread_rwlockattr_t -> IO CIntSource
pthread_rwlock_rdlock :: Ptr Pthread_rwlock_t -> IO CIntSource
pthread_rwlock_timedrdlock :: Ptr Pthread_rwlock_t -> Ptr timespec -> IO CIntSource
pthread_rwlock_timedwrlock :: Ptr Pthread_rwlock_t -> Ptr timespec -> IO CIntSource
pthread_rwlock_tryrdlock :: Ptr Pthread_rwlock_t -> IO CIntSource
pthread_rwlock_trywrlock :: Ptr Pthread_rwlock_t -> IO CIntSource
pthread_rwlock_unlock :: Ptr Pthread_rwlock_t -> IO CIntSource
pthread_rwlock_wrlock :: Ptr Pthread_rwlock_t -> IO CIntSource
pthread_rwlockattr_destroy :: Ptr Pthread_rwlockattr_t -> IO CIntSource
pthread_rwlockattr_getpshared :: Ptr Pthread_rwlockattr_t -> Ptr CInt -> IO CIntSource
pthread_rwlockattr_init :: Ptr Pthread_rwlockattr_t -> IO CIntSource
pthread_rwlockattr_setpshared :: Ptr Pthread_rwlockattr_t -> CInt -> IO CIntSource
pthread_setcancelstate :: CInt -> Ptr CInt -> IO CIntSource
pthread_setcanceltype :: CInt -> Ptr CInt -> IO CIntSource
pthread_spin_destroy :: Ptr Pthread_spinlock_t -> IO CIntSource
pthread_spin_init :: Ptr Pthread_spinlock_t -> CInt -> IO CIntSource
pthread_spin_trylock :: Ptr Pthread_spinlock_t -> IO CIntSource
pthread_spin_unlock :: Ptr Pthread_spinlock_t -> IO CIntSource
pthread_testcancel :: IO ()Source
pwd.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/pwd.h.html
data Passwd Source
Constructors
Passwd
passwd'pw_name :: CString
passwd'pw_uid :: CUid
passwd'pw_gid :: CGid
passwd'pw_dir :: CString
passwd'pw_shell :: CString
show/hide Instances
endpwent :: IO ()Source
getpwent :: IO (Ptr Passwd)Source
getpwnam :: CString -> IO (Ptr Passwd)Source
getpwnam_r :: CString -> Ptr Passwd -> CString -> CSize -> Ptr (Ptr Passwd) -> IO CIntSource
getpwuid :: CUid -> IO (Ptr Passwd)Source
getpwuid_r :: CUid -> Ptr Passwd -> CString -> CSize -> Ptr (Ptr Passwd) -> IO CIntSource
setpwent :: IO ()Source
regex.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/regex.h.html
data Regex_t Source
Constructors
Regex_t
regex_t're_nsub :: CSize
show/hide Instances
data Regmatch_t Source
Constructors
Regmatch_t
regmatch_t'rm_so :: CRegoff
regmatch_t'rm_eo :: CRegoff
show/hide Instances
type CRegoff = Int32Source
_REG_EXTENDED
_REG_ICASE
_REG_NOSUB
_REG_NEWLINE
_REG_NOTBOL
_REG_NOTEOL
_REG_NOMATCH
_REG_BADPAT
_REG_ECOLLATE
_REG_ECTYPE
_REG_EESCAPE
_REG_ESUBREG
_REG_EBRACK
_REG_EPAREN
_REG_EBRACE
_REG_BADBR
_REG_ERANGE
_REG_ESPACE
_REG_BADRPT
regcomp :: Ptr Regex_t -> CString -> CInt -> IO CIntSource
regerror :: CInt -> Ptr Regex_t -> CString -> CSize -> IO CSizeSource
regexec :: Ptr Regex_t -> CString -> CSize -> Ptr Regmatch_t -> CInt -> IO CIntSource
regfree :: Ptr Regex_t -> IO ()Source
sched.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sched.h.html
data Sched_param Source
Constructors
Sched_param
sched_param'sched_priority :: CInt
show/hide Instances
_SCHED_FIFO
_SCHED_RR
_SCHED_OTHER
sched_get_priority_max :: CInt -> IO CIntSource
sched_get_priority_min :: CInt -> IO CIntSource
sched_getparam :: CPid -> Ptr Sched_param -> IO CIntSource
sched_getscheduler :: CPid -> IO CIntSource
sched_rr_get_interval :: CPid -> Ptr Timespec -> IO CIntSource
sched_setparam :: CPid -> Ptr Sched_param -> IO CIntSource
sched_setscheduler :: CPid -> CInt -> Ptr Sched_param -> IO CIntSource
sched_yield :: IO CIntSource
search.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/search.h.html
data ENTRY Source
show/hide Instances
type ACTION = Word32Source
type VISIT = Word32Source
_FIND
_ENTER
preorder
postorder
endorder
leaf
hcreate :: CSize -> IO CIntSource
hdestroy :: IO ()Source
insque :: Ptr () -> Ptr () -> IO ()Source
lfind :: Ptr () -> Ptr () -> Ptr CSize -> CSize -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())Source
lsearch :: Ptr () -> Ptr () -> Ptr CSize -> CSize -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())Source
remque :: Ptr () -> IO ()Source
tdelete :: Ptr () -> Ptr (Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())Source
tfind :: Ptr () -> Ptr () -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())Source
tsearch :: Ptr () -> Ptr (Ptr ()) -> FunPtr (Ptr () -> Ptr () -> IO CInt) -> IO (Ptr ())Source
twalk :: Ptr () -> FunPtr (Ptr () -> VISIT -> CInt -> IO ()) -> IO ()Source
semaphore.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/semaphore.h.html
data CSem Source
_SEM_FAILED
sem_close :: Ptr CSem -> IO CIntSource
sem_destroy :: Ptr CSem -> IO CIntSource
sem_getvalue :: Ptr CSem -> Ptr CInt -> IO CIntSource
sem_init :: Ptr CSem -> CInt -> CUInt -> IO CIntSource
sem_post :: Ptr CSem -> IO CIntSource
sem_timedwait :: Ptr CSem -> Ptr Timespec -> IO CIntSource
sem_trywait :: Ptr CSem -> IO CIntSource
sem_unlink :: CString -> IO CIntSource
sem_wait :: Ptr CSem -> IO CIntSource
signal.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/signal.h.html
data Sigset_t Source
Constructors
Sigset_t
show/hide Instances
data Sigevent Source
Constructors
Sigevent
sigevent'sigev_notify :: CInt
sigevent'sigev_signo :: CInt
sigevent'sigev_value :: Sigval
sigevent'sigev_notify_function :: FunPtr (Sigval -> IO ())
sigevent'sigev_notify_attributes :: Ptr ()
show/hide Instances
data Sigval Source
Constructors
Sigval
sigval'sival_int :: CInt
sigval'sival_ptr :: Ptr ()
show/hide Instances
data Sigaction Source
Constructors
Sigaction
sigaction'sa_handler :: FunPtr (CInt -> IO ())
sigaction'sa_flags :: CInt
sigaction'sa_sigaction :: FunPtr (CInt -> Ptr Siginfo_t -> Ptr () -> IO ())
show/hide Instances
data Ucontext_t Source
Constructors
Ucontext_t
ucontext_t'uc_link :: Ptr Ucontext_t
ucontext_t'uc_stack :: Stack_t
show/hide Instances
data Stack_t Source
Constructors
Stack_t
stack_t'ss_sp :: Ptr ()
stack_t'ss_size :: CSize
stack_t'ss_flags :: CInt
show/hide Instances
data Siginfo_t Source
Constructors
Siginfo_t
siginfo_t'si_signo :: CInt
siginfo_t'si_code :: CInt
siginfo_t'si_errno :: CInt
siginfo_t'si_pid :: CPid
siginfo_t'si_uid :: CUid
siginfo_t'si_addr :: Ptr ()
siginfo_t'si_status :: CInt
siginfo_t'si_band :: CLong
siginfo_t'si_value :: Sigval
show/hide Instances
_SIGEV_NONE
_SIGEV_SIGNAL
_SIGEV_THREAD
_SIGALRM
_SIGBUS
_SIGCHLD
_SIGCONT
_SIGHUP
_SIGKILL
_SIGPIPE
_SIGQUIT
_SIGSTOP
_SIGTSTP
_SIGTTIN
_SIGTTOU
_SIGUSR1
_SIGUSR2
_SIGSYS
_SIGTRAP
_SIGURG
_SIGVTALRM
_SIGXCPU
_SIGXFSZ
_SIG_BLOCK
_SIG_UNBLOCK
_SIG_SETMASK
_SA_NOCLDSTOP
_SA_ONSTACK
_SA_RESETHAND
_SA_RESTART
_SA_SIGINFO
_SA_NOCLDWAIT
_SA_NODEFER
_SS_ONSTACK
_SS_DISABLE
_MINSIGSTKSZ
_SIGSTKSZ
_ILL_ILLOPC
_ILL_ILLOPN
_ILL_ILLADR
_ILL_ILLTRP
_ILL_PRVOPC
_ILL_PRVREG
_ILL_COPROC
_ILL_BADSTK
_FPE_INTDIV
_FPE_INTOVF
_FPE_FLTDIV
_FPE_FLTOVF
_FPE_FLTUND
_FPE_FLTRES
_FPE_FLTINV
_FPE_FLTSUB
_SEGV_MAPERR
_SEGV_ACCERR
_BUS_ADRALN
_BUS_ADRERR
_BUS_OBJERR
_TRAP_BRKPT
_TRAP_TRACE
_CLD_EXITED
_CLD_KILLED
_CLD_DUMPED
_CLD_TRAPPED
_CLD_STOPPED
_CLD_CONTINUED
_SI_USER
_SI_QUEUE
_SI_TIMER
_SI_ASYNCIO
_SI_MESGQ
kill :: CPid -> CInt -> IO CIntSource
killpg :: CPid -> CInt -> IO CIntSource
psignal :: CInt -> CString -> IO ()Source
pthread_sigmask :: CInt -> Ptr Sigset_t -> Ptr Sigset_t -> IO CIntSource
sigaction :: CInt -> Ptr Sigaction -> Ptr Sigaction -> IO CIntSource
sigaddset :: Ptr Sigset_t -> CInt -> IO CIntSource
sigaltstack :: Ptr Stack_t -> Ptr Stack_t -> IO CIntSource
sigdelset :: Ptr Sigset_t -> CInt -> IO CIntSource
sigemptyset :: Ptr Sigset_t -> IO CIntSource
sigfillset :: Ptr Sigset_t -> IO CIntSource
sigismember :: Ptr Sigset_t -> CInt -> IO CIntSource
sigpending :: Ptr Sigset_t -> IO CIntSource
sigprocmask :: CInt -> Ptr Sigset_t -> Ptr Sigset_t -> IO CIntSource
sigsuspend :: Ptr Sigset_t -> IO CIntSource
sigtimedwait :: Ptr Sigset_t -> Ptr Siginfo_t -> Ptr Timespec -> IO CIntSource
sigwait :: Ptr Sigset_t -> Ptr CInt -> IO CIntSource
sigwaitinfo :: Ptr Sigset_t -> Ptr Siginfo_t -> IO CIntSource
spawn.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/spawn.h.html
data Posix_spawnattr_t Source
Constructors
Posix_spawnattr_t
show/hide Instances
data Posix_spawn_file_actions_t Source
Constructors
Posix_spawn_file_actions_t
show/hide Instances
_POSIX_SPAWN_RESETIDS
_POSIX_SPAWN_SETPGROUP
_POSIX_SPAWN_SETSCHEDPARAM
_POSIX_SPAWN_SETSCHEDULER
_POSIX_SPAWN_SETSIGDEF
_POSIX_SPAWN_SETSIGMASK
posix_spawn :: Ptr CPid -> CString -> Ptr Posix_spawn_file_actions_t -> Ptr Posix_spawnattr_t -> CString -> Ptr CString -> IO CIntSource
posix_spawn_file_actions_addclose :: Ptr Posix_spawn_file_actions_t -> CInt -> IO CIntSource
posix_spawn_file_actions_adddup2 :: Ptr Posix_spawn_file_actions_t -> CInt -> CInt -> IO CIntSource
posix_spawn_file_actions_addopen :: Ptr Posix_spawn_file_actions_t -> CInt -> CString -> CInt -> CMode -> IO CIntSource
posix_spawn_file_actions_destroy :: Ptr Posix_spawn_file_actions_t -> IO CIntSource
posix_spawn_file_actions_init :: Ptr Posix_spawn_file_actions_t -> IO CIntSource
posix_spawnattr_destroy :: Ptr Posix_spawnattr_t -> IO CIntSource
posix_spawnattr_getflags :: Ptr Posix_spawnattr_t -> Ptr CShort -> IO CIntSource
posix_spawnattr_getpgroup :: Ptr Posix_spawnattr_t -> Ptr CPid -> IO CIntSource
posix_spawnattr_getschedparam :: Ptr Posix_spawnattr_t -> Ptr Sched_param -> IO CIntSource
posix_spawnattr_getschedpolicy :: Ptr Posix_spawnattr_t -> Ptr CInt -> IO CIntSource
posix_spawnattr_getsigdefault :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CIntSource
posix_spawnattr_getsigmask :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CIntSource
posix_spawnattr_init :: Ptr Posix_spawnattr_t -> IO CIntSource
posix_spawnattr_setflags :: Ptr Posix_spawnattr_t -> CShort -> IO CIntSource
posix_spawnattr_setpgroup :: Ptr Posix_spawnattr_t -> CPid -> IO CIntSource
posix_spawnattr_setschedparam :: Ptr Posix_spawnattr_t -> Ptr Sched_param -> IO CIntSource
posix_spawnattr_setschedpolicy :: Ptr Posix_spawnattr_t -> CInt -> IO CIntSource
posix_spawnattr_setsigdefault :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CIntSource
posix_spawnattr_setsigmask :: Ptr Posix_spawnattr_t -> Ptr Sigset_t -> IO CIntSource
posix_spawnp :: Ptr CPid -> CString -> Ptr Posix_spawn_file_actions_t -> Ptr Posix_spawnattr_t -> Ptr CString -> Ptr CString -> IO CIntSource
stdbool.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdbool.h.html
true
false
stddef.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/stddef.h.html
stdint.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdint.h.html
stdio.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdio.h.html
_L_ctermid
ctermid :: CString -> IO CStringSource
fdopen :: CInt -> CString -> IO (Ptr CFile)Source
fileno :: Ptr CFile -> IO CIntSource
flockfile :: Ptr CFile -> IO ()Source
fseeko :: Ptr CFile -> COff -> CInt -> IO CIntSource
ftello :: Ptr CFile -> IO COffSource
ftrylockfile :: Ptr CFile -> IO CIntSource
funlockfile :: Ptr CFile -> IO ()Source
getc_unlocked :: Ptr CFile -> IO CIntSource
getchar_unlocked :: IO CIntSource
getdelim :: Ptr CString -> Ptr CSize -> CInt -> Ptr CFile -> IO CSSizeSource
getline :: Ptr CString -> Ptr CSize -> Ptr CFile -> IO CSSizeSource
open_memstream :: Ptr CString -> Ptr CSize -> IO (Ptr CFile)Source
pclose :: Ptr CFile -> IO CIntSource
popen :: CString -> CString -> IO (Ptr CFile)Source
putc_unlocked :: CInt -> Ptr CFile -> IO CIntSource
putchar_unlocked :: CInt -> IO CIntSource
renameat :: CInt -> CString -> CInt -> CString -> IO CIntSource
stdlib.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/stdlib.h.html
a64l :: CString -> IO CLongSource
drand48 :: IO CDoubleSource
erand48 :: Ptr CUShort -> IO CDoubleSource
grantpt :: CInt -> IO CIntSource
initstate :: CUInt -> CString -> CSize -> IO CStringSource
jrand48 :: Ptr CUShort -> IO CLongSource
l64a :: CLong -> IO CStringSource
lcong48 :: Ptr CUShort -> IO ()Source
lrand48 :: IO CLongSource
mkdtemp :: CString -> IO CStringSource
mkstemp :: CString -> IO CIntSource
mrand48 :: IO CLongSource
nrand48 :: Ptr CUShort -> IO CLongSource
posix_memalign :: Ptr (Ptr ()) -> CSize -> CSize -> IO CIntSource
posix_openpt :: CInt -> IO CIntSource
ptsname :: CInt -> IO CStringSource
putenv :: CString -> IO CIntSource
rand_r :: IO CIntSource
random :: IO CLongSource
realpath :: CString -> CString -> IO CStringSource
seed48 :: Ptr CUShort -> IO (Ptr CUShort)Source
setenv :: CString -> CString -> CInt -> IO CIntSource
setstate :: CString -> IO CStringSource
srandom :: CUInt -> IO ()Source
unlockpt :: CInt -> IO CIntSource
unsetenv :: CString -> IO CIntSource
string.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/string.h.html
memccpy :: Ptr () -> Ptr () -> CInt -> CSize -> IO (Ptr ())Source
stpcpy :: CString -> CString -> IO CStringSource
stpncpy :: CString -> CString -> CSize -> IO CStringSource
strdup :: CString -> IO CStringSource
strerror_r :: CInt -> CString -> CSize -> IO CIntSource
strndup :: CString -> CSize -> IO CStringSource
strnlen :: CString -> CSize -> IO CSizeSource
strsignal :: CInt -> IO CStringSource
strtok_r :: CString -> CString -> Ptr CString -> IO CStringSource
strings.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/strings.h.html
stropts.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/stropts.h.html
sys/ipc.h
data Ipc_perm Source
Constructors
Ipc_perm
ipc_perm'uid :: CUid
ipc_perm'gid :: CGid
ipc_perm'cuid :: CUid
ipc_perm'cgid :: CGid
ipc_perm'mode :: CMode
show/hide Instances
_IPC_CREAT
_IPC_EXCL
_IPC_NOWAIT
_IPC_PRIVATE
_IPC_RMID
_IPC_SET
_IPC_STAT
ftok :: CString -> CInt -> IO CKeySource
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_ipc.h.html
sys/mman.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_mman.h.html
_PROT_EXEC
_PROT_NONE
_PROT_READ
_PROT_WRITE
_MAP_FIXED
_MAP_PRIVATE
_MAP_SHARED
_MS_ASYNC
_MS_INVALIDATE
_MS_SYNC
_MCL_CURRENT
_MCL_FUTURE
_MAP_FAILED
_POSIX_MADV_DONTNEED
_POSIX_MADV_NORMAL
_POSIX_MADV_RANDOM
_POSIX_MADV_SEQUENTIAL
_POSIX_MADV_WILLNEED
mlock :: Ptr () -> CSize -> IO CIntSource
mlockall :: CInt -> IO CIntSource
mmap :: Ptr () -> CSize -> CInt -> CInt -> CInt -> COff -> IO (Ptr ())Source
mprotect :: Ptr () -> CSize -> CInt -> IO CIntSource
msync :: Ptr () -> CSize -> CInt -> IO CIntSource
munlock :: Ptr () -> CSize -> IO CIntSource
munlockall :: IO CIntSource
munmap :: Ptr () -> CSize -> IO CIntSource
posix_madvise :: Ptr () -> CSize -> CInt -> IO CIntSource
shm_open :: CString -> CInt -> CMode -> IO CIntSource
shm_unlink :: CString -> IO CIntSource
sys/msg.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_msg.h.html
type CMsgqnum = Word32Source
type CMsglen = Word32Source
_MSG_NOERROR
data Msqid_ds Source
Constructors
Msqid_ds
msqid_ds'msg_perm :: Ipc_perm
msqid_ds'msg_qnum :: CMsgqnum
msqid_ds'msg_qbytes :: CMsglen
msqid_ds'msg_lspid :: CPid
msqid_ds'msg_lrpid :: CPid
msqid_ds'msg_stime :: CTime
msqid_ds'msg_rtime :: CTime
msqid_ds'msg_ctime :: CTime
show/hide Instances
msgctl :: CInt -> CInt -> Ptr Msqid_ds -> IO CIntSource
msgget :: CKey -> CInt -> IO CIntSource
msgrcv :: CInt -> Ptr () -> CSize -> CLong -> CInt -> IO CSSizeSource
msgsnd :: CInt -> Ptr () -> CSize -> CInt -> IO CIntSource
sys/resource.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html
_PRIO_PROCESS
_PRIO_PGRP
_PRIO_USER
type CRlim = Word64Source
_RLIM_INFINITY
_RLIM_SAVED_MAX
_RLIM_SAVED_CUR
_RUSAGE_SELF
_RUSAGE_CHILDREN
data Rlimit Source
Constructors
Rlimit
rlimit'rlim_cur :: CRlim
rlimit'rlim_max :: CRlim
show/hide Instances
data Rusage Source
Constructors
Rusage
rusage'ru_utime :: Timeval
rusage'ru_stime :: Timeval
show/hide Instances
_RLIMIT_CORE
_RLIMIT_CPU
_RLIMIT_DATA
_RLIMIT_FSIZE
_RLIMIT_NOFILE
_RLIMIT_STACK
_RLIMIT_AS
getpriority :: CInt -> CId -> IO CIntSource
getrlimit :: CInt -> Ptr Rlimit -> IO CIntSource
getrusage :: CInt -> Ptr Rusage -> IO CIntSource
setpriority :: CInt -> CId -> CInt -> IO CIntSource
setrlimit :: CInt -> Ptr Rlimit -> IO CIntSource
sys/select.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_select.h.html
data Timeval Source
Constructors
Timeval
timeval'tv_sec :: CTime
timeval'tv_usec :: CSuseconds
show/hide Instances
data Fd_set Source
Constructors
Fd_set
show/hide Instances
_FD_SETSIZE
pselect :: CInt -> Ptr Fd_set -> Ptr Fd_set -> Ptr Fd_set -> Ptr Timespec -> Ptr Sigset_t -> IO CIntSource
select :: CInt -> Ptr Fd_set -> Ptr Fd_set -> Ptr Fd_set -> Ptr Timeval -> IO CIntSource
sys/sem.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_sem.h.html
_SEM_UNDO
_GETNCNT
_GETPID
_GETVAL
_GETALL
_GETZCNT
_SETVAL
_SETALL
data Semid_ds Source
Constructors
Semid_ds
semid_ds'sem_perm :: Ipc_perm
semid_ds'sem_nsems :: CUShort
semid_ds'sem_otime :: CTime
semid_ds'sem_ctime :: CTime
show/hide Instances
data Sembuf Source
Constructors
Sembuf
sembuf'sem_num :: CUShort
sembuf'sem_op :: CShort
sembuf'sem_flg :: CShort
show/hide Instances
semget :: CKey -> CInt -> CInt -> IO CIntSource
semop :: CInt -> Ptr Sembuf -> CSize -> IO CIntSource
sys/shm.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_shm.h.html
_SHM_RDONLY
_SHM_RND
_SHMLBA
data Shmid_ds Source
Constructors
Shmid_ds
shmid_ds'shm_perm :: Ipc_perm
shmid_ds'shm_segsz :: CSize
shmid_ds'shm_lpid :: CPid
shmid_ds'shm_cpid :: CPid
shmid_ds'shm_nattch :: CShmatt
shmid_ds'shm_atime :: CTime
shmid_ds'shm_dtime :: CTime
shmid_ds'shm_ctime :: CTime
show/hide Instances
type CShmatt = Word32Source
shmat :: CInt -> Ptr () -> CInt -> IO (Ptr ())Source
shmctl :: CInt -> CInt -> Ptr Shmid_ds -> IO CIntSource
shmdt :: Ptr () -> IO CIntSource
shmget :: CKey -> CSize -> CInt -> IO CIntSource
sys/socket.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_socket.h.html
data Sockaddr Source
Constructors
Sockaddr
sockaddr'sa_family :: CSaFamily
sockaddr'sa_data :: CString
show/hide Instances
data Sockaddr_storage Source
Constructors
Sockaddr_storage
sockaddr_storage'ss_family :: CSaFamily
show/hide Instances
data Msghdr Source
Constructors
Msghdr
msghdr'msg_name :: Ptr ()
msghdr'msg_namelen :: CSocklen
msghdr'msg_iov :: Ptr Iovec
msghdr'msg_iovlen :: CInt
msghdr'msg_control :: Ptr ()
msghdr'msg_controllen :: CSocklen
msghdr'msg_flags :: CInt
show/hide Instances
data Cmsghdr Source
Constructors
Cmsghdr
cmsghdr'cmsg_len :: CSocklen
cmsghdr'cmsg_level :: CInt
cmsghdr'cmsg_type :: CInt
show/hide Instances
type CSocklen = Word32Source
type CSaFamily = Word16Source
_SCM_RIGHTS
data Linger Source
Constructors
Linger
linger'l_onoff :: CInt
linger'l_linger :: CInt
show/hide Instances
_SOCK_DGRAM
_SOCK_RAW
_SOCK_SEQPACKET
_SOCK_STREAM
_SOL_SOCKET
_SO_ACCEPTCONN
_SO_BROADCAST
_SO_DEBUG
_SO_DONTROUTE
_SO_ERROR
_SO_KEEPALIVE
_SO_LINGER
_SO_OOBINLINE
_SO_RCVBUF
_SO_RCVLOWAT
_SO_RCVTIMEO
_SO_REUSEADDR
_SO_SNDBUF
_SO_SNDLOWAT
_SO_SNDTIMEO
_SO_TYPE
_SOMAXCONN
_MSG_CTRUNC
_MSG_DONTROUTE
_MSG_EOR
_MSG_OOB
_MSG_NOSIGNAL
_MSG_PEEK
_MSG_TRUNC
_MSG_WAITALL
_AF_INET
_AF_INET6
_AF_UNIX
_AF_UNSPEC
_SHUT_RD
_SHUT_RDWR
_SHUT_WR
accept :: CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CIntSource
bind :: CInt -> Ptr Sockaddr -> CSocklen -> IO CIntSource
connect :: CInt -> Ptr Sockaddr -> CSocklen -> IO CIntSource
getpeername :: CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CIntSource
getsockname :: CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CIntSource
getsockopt :: CInt -> CInt -> CInt -> Ptr () -> Ptr CSocklen -> IO CIntSource
listen :: CInt -> CInt -> IO CIntSource
recv :: CInt -> Ptr () -> CSize -> CInt -> IO CSSizeSource
recvfrom :: CInt -> Ptr () -> CSize -> CInt -> Ptr Sockaddr -> Ptr CSocklen -> IO CSSizeSource
recvmsg :: CInt -> Ptr Msghdr -> CInt -> IO CSSizeSource
send :: CInt -> Ptr () -> CSize -> CInt -> IO CSSizeSource
sendmsg :: CInt -> Ptr Msghdr -> CInt -> IO CSSizeSource
sendto :: CInt -> Ptr () -> CSize -> CInt -> Ptr Sockaddr -> CSocklen -> IO CSSizeSource
setsockopt :: CInt -> CInt -> CInt -> Ptr () -> CSocklen -> IO CIntSource
shutdown :: CInt -> CInt -> IO CIntSource
sockatmark :: CInt -> IO CIntSource
socket :: CInt -> CInt -> CInt -> IO CIntSource
socketpair :: CInt -> CInt -> CInt -> Ptr CInt -> IO CIntSource
sys/stat.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_stat.h.html
data Stat Source
Constructors
Stat
stat'st_dev :: CDev
stat'st_ino :: CIno
stat'st_mode :: CMode
stat'st_nlink :: CNlink
stat'st_uid :: CUid
stat'st_gid :: CGid
stat'st_rdev :: CDev
stat'st_size :: COff
stat'st_atim :: Timespec
stat'st_mtim :: Timespec
stat'st_ctim :: Timespec
stat'st_blocks :: CBlkcnt
show/hide Instances
_S_IFMT
_S_IFBLK
_S_IFCHR
_S_IFIFO
_S_IFREG
_S_IFDIR
_S_IFLNK
_S_IFSOCK
_S_IRWXU
_S_IRUSR
_S_IWUSR
_S_IXUSR
_S_IRWXG
_S_IRGRP
_S_IWGRP
_S_IXGRP
_S_IRWXO
_S_IROTH
_S_IWOTH
_S_IXOTH
_S_ISUID
_S_ISGID
_S_ISVTX
chmod :: CString -> CMode -> IO CIntSource
fchmod :: CInt -> CMode -> IO CIntSource
fchmodat :: CInt -> CString -> CMode -> CInt -> IO CIntSource
fstat :: CInt -> Ptr Stat -> IO CIntSource
fstatat :: CInt -> CString -> Ptr Stat -> CInt -> IO CIntSource
futimens :: CInt -> Ptr (Ptr Timespec) -> IO CIntSource
lstat :: CString -> Ptr Stat -> IO CIntSource
mkdir :: CString -> CMode -> IO CIntSource
mkdirat :: CInt -> CString -> CMode -> IO CIntSource
mkfifo :: CString -> CMode -> IO CIntSource
mkfifoat :: CInt -> CString -> CMode -> IO CIntSource
mknod :: CString -> CMode -> CDev -> IO CIntSource
mknodat :: CInt -> CString -> CMode -> CDev -> IO CIntSource
stat :: CString -> Ptr Stat -> IO CIntSource
umask :: CMode -> IO CModeSource
utimensat :: CInt -> CString -> Ptr (Ptr Timespec) -> CInt -> IO CIntSource
sys/statvfs.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_statvfs.h.html
data Statvfs Source
Constructors
Statvfs
statvfs'f_bsize :: CULong
statvfs'f_frsize :: CULong
statvfs'f_blocks :: CFsblkcnt
statvfs'f_bfree :: CFsblkcnt
statvfs'f_bavail :: CFsblkcnt
statvfs'f_files :: CFsfilcnt
statvfs'f_ffree :: CFsfilcnt
statvfs'f_favail :: CFsfilcnt
statvfs'f_fsid :: CULong
statvfs'f_flag :: CULong
statvfs'f_namemax :: CULong
show/hide Instances
_ST_RDONLY
_ST_NOSUID
fstatvfs :: CInt -> Ptr Statvfs -> IO CIntSource
statvfs :: CString -> Ptr Statvfs -> IO CIntSource
sys/time.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_time.h.html
utimes :: CString -> Ptr (Ptr Timeval) -> IO CIntSource
sys/times.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_times.h.html
data Tms Source
Constructors
Tms
tms'tms_utime :: CClock
tms'tms_stime :: CClock
tms'tms_cutime :: CClock
tms'tms_cstime :: CClock
show/hide Instances
times :: Ptr Tms -> IO CClockSource
sys/types.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_types.h.html
type CClockid = Int32Source
type CDev = Word64Source
type CFsblkcnt = Word64Source
type CFsfilcnt = Word64Source
type CGid = Word32Source
type CId = Word32Source
type CIno = Word64Source
type CKey = Int32Source
type CMode = Word32Source
type CNlink = Word32Source
type COff = Int64Source
type CPid = Int32Source
type CSSize = Int32Source
type CSuseconds = Int32Source
type CTimer = Word32Source
type CUid = Word32Source
data Pthread_attr_t Source
Constructors
Pthread_attr_t
show/hide Instances
data Pthread_barrier_t Source
Constructors
Pthread_barrier_t
show/hide Instances
data Pthread_barrierattr_t Source
Constructors
Pthread_barrierattr_t
show/hide Instances
data Pthread_cond_t Source
Constructors
Pthread_cond_t
show/hide Instances
data Pthread_condattr_t Source
Constructors
Pthread_condattr_t
show/hide Instances
data Pthread_key_t Source
Constructors
Pthread_key_t
show/hide Instances
data Pthread_mutex_t Source
Constructors
Pthread_mutex_t
show/hide Instances
data Pthread_mutexattr_t Source
Constructors
Pthread_mutexattr_t
show/hide Instances
data Pthread_once_t Source
Constructors
Pthread_once_t
show/hide Instances
data Pthread_rwlock_t Source
Constructors
Pthread_rwlock_t
show/hide Instances
data Pthread_rwlockattr_t Source
Constructors
Pthread_rwlockattr_t
show/hide Instances
data Pthread_spinlock_t Source
Constructors
Pthread_spinlock_t
show/hide Instances
data Pthread_t Source
Constructors
Pthread_t
show/hide Instances
sys/uio.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_uio.h.html
data Iovec Source
Constructors
Iovec
iovec'iov_base :: Ptr ()
iovec'iov_len :: CSize
show/hide Instances
readv :: CInt -> Ptr Iovec -> CInt -> IO CSSizeSource
writev :: CInt -> Ptr Iovec -> CInt -> IO CSSizeSource
sys/un.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_un.h.html
data Sockaddr_un Source
Constructors
Sockaddr_un
sockaddr_un'sun_family :: CSaFamily
sockaddr_un'sun_path :: CString
show/hide Instances
sys/utsname.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_utsname.h.html
data Utsname Source
Constructors
Utsname
utsname'sysname :: CString
utsname'nodename :: CString
show/hide Instances
uname :: Ptr Utsname -> IO CIntSource
sys/wait.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/sys_wait.h.html
_WCONTINUED
_WNOHANG
_WUNTRACED
_WEXITED
_WNOWAIT
_WSTOPPED
type CIdtype = Word32Source
_P_ALL
_P_PGID
_P_PID
wait :: Ptr CInt -> IO CPidSource
waitid :: CIdtype -> CId -> Ptr Siginfo_t -> CInt -> IO CIntSource
waitpid :: CPid -> Ptr CInt -> CInt -> IO CPidSource
syslog.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/syslog.h.html
_LOG_PID
_LOG_CONS
_LOG_NDELAY
_LOG_ODELAY
_LOG_NOWAIT
_LOG_KERN
_LOG_USER
_LOG_MAIL
_LOG_NEWS
_LOG_UUCP
_LOG_DAEMON
_LOG_AUTH
_LOG_CRON
_LOG_LPR
_LOG_LOCAL0
_LOG_LOCAL1
_LOG_LOCAL2
_LOG_LOCAL3
_LOG_LOCAL4
_LOG_LOCAL5
_LOG_LOCAL6
_LOG_LOCAL7
_LOG_EMERG
_LOG_ALERT
_LOG_CRIT
_LOG_ERR
_LOG_WARNING
_LOG_NOTICE
_LOG_INFO
_LOG_DEBUG
closelog :: IO ()Source
openlog :: CString -> CInt -> CInt -> IO ()Source
setlogmask :: CInt -> IO CIntSource
tar.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/tar.h.html
_TMAGIC
_TMAGLEN
_TVERSION
_TVERSLEN
_REGTYPE
_AREGTYPE
_LNKTYPE
_SYMTYPE
_CHRTYPE
_BLKTYPE
_DIRTYPE
_FIFOTYPE
_CONTTYPE
_TSUID
_TSGID
_TSVTX
_TUREAD
_TUWRITE
_TUEXEC
_TGREAD
_TGWRITE
_TGEXEC
_TOREAD
_TOWRITE
_TOEXEC
termios.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/termios.h.html
data Termios Source
Constructors
Termios
termios'c_iflag :: CTcflag
termios'c_oflag :: CTcflag
termios'c_cflag :: CTcflag
termios'c_lflag :: CTcflag
termios'c_cc :: Ptr CCc
show/hide Instances
type CCc = Word8Source
type CSpeed = Word32Source
type CTcflag = Word32Source
_NCCS
_VEOF
_VEOL
_VERASE
_VINTR
_VKILL
_VMIN
_VQUIT
_VSTART
_VSTOP
_VSUSP
_VTIME
_BRKINT
_ICRNL
_IGNBRK
_IGNCR
_IGNPAR
_INLCR
_INPCK
_ISTRIP
_IXANY
_IXOFF
_IXON
_PARMRK
_OPOST
_ONLCR
_OCRNL
_ONOCR
_ONLRET
_OFDEL
_OFILL
_NLDLY
_NL0
_NL1
_CRDLY
_CR0
_CR1
_CR2
_CR3
_TABDLY
_TAB0
_TAB1
_TAB2
_TAB3
_BSDLY
_BS0
_BS1
_VTDLY
_VT0
_VT1
_FFDLY
_FF0
_FF1
_B0
_B50
_B75
_B110
_B134
_B150
_B200
_B300
_B600
_B1200
_B1800
_B2400
_B4800
_B9600
_B19200
_B38400
_CSIZE
_CS5
_CS6
_CS7
_CS8
_CSTOPB
_CREAD
_PARENB
_PARODD
_HUPCL
_CLOCAL
_ECHO
_ECHOE
_ECHOK
_ECHONL
_ICANON
_IEXTEN
_ISIG
_NOFLSH
_TOSTOP
_TCSANOW
_TCSADRAIN
_TCSAFLUSH
_TCIFLUSH
_TCIOFLUSH
_TCOFLUSH
_TCIOFF
_TCION
_TCOOFF
_TCOON
cfgetispeed :: Ptr Termios -> IO CSpeedSource
cfgetospeed :: Ptr Termios -> IO CSpeedSource
cfsetispeed :: Ptr Termios -> CSpeed -> IO CIntSource
cfsetospeed :: Ptr Termios -> CSpeed -> IO CIntSource
tcdrain :: CInt -> IO CIntSource
tcflow :: CInt -> CInt -> IO CIntSource
tcflush :: CInt -> CInt -> IO CIntSource
tcgetattr :: CInt -> Ptr Termios -> IO CIntSource
tcgetsid :: CInt -> IO CPidSource
tcsendbreak :: CInt -> CInt -> IO CIntSource
tcsetattr :: CInt -> CInt -> Ptr Termios -> IO CIntSource
time.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/time.h.html
data Timespec Source
Constructors
Timespec
timespec'tv_sec :: CTime
timespec'tv_nsec :: CLong
show/hide Instances
data Itimerspec Source
Constructors
Itimerspec
itimerspec'it_interval :: Timespec
itimerspec'it_value :: Timespec
show/hide Instances
_CLOCK_MONOTONIC
_CLOCK_PROCESS_CPUTIME_ID
_CLOCK_REALTIME
_CLOCK_THREAD_CPUTIME_ID
clock_getcpuclockid :: CPid -> Ptr CClockid -> IO CIntSource
clock_getres :: CClockid -> Ptr Timespec -> IO CIntSource
clock_gettime :: CClockid -> Ptr Timespec -> IO CIntSource
clock_nanosleep :: CClockid -> CInt -> Ptr Timespec -> Ptr Timespec -> IO CIntSource
clock_settime :: CClockid -> Ptr Timespec -> IO CIntSource
getdate :: CString -> IO (Ptr Tm)Source
gmtime_r :: Ptr CTime -> Ptr Tm -> IO (Ptr Tm)Source
localtime_r :: Ptr CTime -> Ptr Tm -> IO (Ptr Tm)Source
nanosleep :: Ptr Timespec -> Ptr timespec -> IO CIntSource
strptime :: CString -> CString -> Ptr Tm -> IO CStringSource
timer_create :: CClockid -> Ptr Sigevent -> Ptr CTimer -> IO CIntSource
timer_delete :: CTimer -> IO CIntSource
timer_getoverrun :: CTimer -> IO CIntSource
timer_gettime :: CTimer -> Ptr Itimerspec -> IO CIntSource
timer_settime :: CTimer -> CInt -> Ptr Itimerspec -> Ptr Itimerspec -> IO CIntSource
tzset :: IO ()Source
daylight :: GlobalVariable (Ptr CInt)Source
timezone :: GlobalVariable (Ptr CLong)Source
tzname :: GlobalVariable (Ptr (Ptr (Ptr CString)))Source
unistd.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/unistd.h.html
__POSIX_ASYNC_IO
_F_OK
_R_OK
_W_OK
_X_OK
_F_LOCK
_F_TEST
_F_TLOCK
_F_ULOCK
__PC_2_SYMLINKS
__PC_ALLOC_SIZE_MIN
__PC_ASYNC_IO
__PC_CHOWN_RESTRICTED
__PC_FILESIZEBITS
__PC_LINK_MAX
__PC_MAX_CANON
__PC_MAX_INPUT
__PC_NAME_MAX
__PC_NO_TRUNC
__PC_PATH_MAX
__PC_PIPE_BUF
__PC_PRIO_IO
__PC_REC_INCR_XFER_SIZE
__PC_REC_MAX_XFER_SIZE
__PC_REC_MIN_XFER_SIZE
__PC_REC_XFER_ALIGN
__PC_SYMLINK_MAX
__PC_SYNC_IO
__PC_VDISABLE
__SC_2_C_BIND
__SC_2_C_DEV
__SC_2_CHAR_TERM
__SC_2_FORT_DEV
__SC_2_FORT_RUN
__SC_2_LOCALEDEF
__SC_2_PBS
__SC_2_PBS_ACCOUNTING
__SC_2_PBS_CHECKPOINT
__SC_2_PBS_LOCATE
__SC_2_PBS_MESSAGE
__SC_2_PBS_TRACK
__SC_2_SW_DEV
__SC_2_UPE
__SC_2_VERSION
__SC_ADVISORY_INFO
__SC_AIO_LISTIO_MAX
__SC_AIO_MAX
__SC_AIO_PRIO_DELTA_MAX
__SC_ARG_MAX
__SC_ASYNCHRONOUS_IO
__SC_ATEXIT_MAX
__SC_BARRIERS
__SC_BC_BASE_MAX
__SC_BC_DIM_MAX
__SC_BC_SCALE_MAX
__SC_BC_STRING_MAX
__SC_CHILD_MAX
__SC_CLK_TCK
__SC_CLOCK_SELECTION
__SC_COLL_WEIGHTS_MAX
__SC_CPUTIME
__SC_DELAYTIMER_MAX
__SC_EXPR_NEST_MAX
__SC_FSYNC
__SC_GETGR_R_SIZE_MAX
__SC_GETPW_R_SIZE_MAX
__SC_HOST_NAME_MAX
__SC_IOV_MAX
__SC_IPV6
__SC_JOB_CONTROL
__SC_LINE_MAX
__SC_LOGIN_NAME_MAX
__SC_MAPPED_FILES
__SC_MEMLOCK
__SC_MEMLOCK_RANGE
__SC_MEMORY_PROTECTION
__SC_MESSAGE_PASSING
__SC_MONOTONIC_CLOCK
__SC_MQ_OPEN_MAX
__SC_MQ_PRIO_MAX
__SC_NGROUPS_MAX
__SC_OPEN_MAX
__SC_PAGE_SIZE
__SC_PAGESIZE
__SC_PRIORITIZED_IO
__SC_PRIORITY_SCHEDULING
__SC_RAW_SOCKETS
__SC_RE_DUP_MAX
__SC_READER_WRITER_LOCKS
__SC_REALTIME_SIGNALS
__SC_REGEXP
__SC_RTSIG_MAX
__SC_SAVED_IDS
__SC_SEM_NSEMS_MAX
__SC_SEM_VALUE_MAX
__SC_SEMAPHORES
__SC_SHARED_MEMORY_OBJECTS
__SC_SHELL
__SC_SIGQUEUE_MAX
__SC_SPAWN
__SC_SPIN_LOCKS
__SC_SPORADIC_SERVER
__SC_STREAM_MAX
__SC_SYMLOOP_MAX
__SC_SYNCHRONIZED_IO
__SC_THREAD_ATTR_STACKADDR
__SC_THREAD_ATTR_STACKSIZE
__SC_THREAD_CPUTIME
__SC_THREAD_DESTRUCTOR_ITERATIONS
__SC_THREAD_KEYS_MAX
__SC_THREAD_PRIO_INHERIT
__SC_THREAD_PRIO_PROTECT
__SC_THREAD_PRIORITY_SCHEDULING
__SC_THREAD_PROCESS_SHARED
__SC_THREAD_SAFE_FUNCTIONS
__SC_THREAD_SPORADIC_SERVER
__SC_THREAD_STACK_MIN
__SC_THREAD_THREADS_MAX
__SC_THREADS
__SC_TIMEOUTS
__SC_TIMER_MAX
__SC_TIMERS
__SC_TRACE
__SC_TRACE_EVENT_FILTER
__SC_TRACE_INHERIT
__SC_TRACE_LOG
__SC_TTY_NAME_MAX
__SC_TYPED_MEMORY_OBJECTS
__SC_TZNAME_MAX
__SC_VERSION
__SC_XOPEN_CRYPT
__SC_XOPEN_ENH_I18N
__SC_XOPEN_REALTIME
__SC_XOPEN_REALTIME_THREADS
__SC_XOPEN_SHM
__SC_XOPEN_UNIX
__SC_XOPEN_VERSION
_STDERR_FILENO
_STDIN_FILENO
_STDOUT_FILENO
access :: CString -> CInt -> IO CIntSource
alarm :: CUInt -> IO CUIntSource
chdir :: CString -> IO CIntSource
chown :: CString -> CUid -> CGid -> IO CIntSource
close :: CInt -> IO CIntSource
confstr :: CInt -> CString -> CSize -> IO CSizeSource
dup :: CInt -> IO CIntSource
dup2 :: CInt -> CInt -> IO CIntSource
__exit :: CInt -> IO ()Source
execv :: CString -> Ptr CString -> IO CIntSource
execve :: CString -> Ptr CString -> Ptr CString -> IO CIntSource
execvp :: CString -> Ptr CString -> IO CIntSource
faccessat :: CInt -> CString -> CInt -> CInt -> IO CIntSource
fchdir :: CInt -> IO CIntSource
fchown :: CInt -> CUid -> CGid -> IO CIntSource
fchownat :: CInt -> CString -> CUid -> CGid -> CInt -> IO CIntSource
fdatasync :: CInt -> IO CIntSource
fexecve :: CInt -> Ptr CString -> Ptr CString -> IO CIntSource
fork :: IO CPidSource
fpathconf :: CInt -> CInt -> IO CLongSource
fsync :: CInt -> IO CIntSource
ftruncate :: CInt -> COff -> IO CIntSource
getcwd :: CString -> CSize -> IO CStringSource
getegid :: IO CGidSource
geteuid :: IO CUidSource
getgid :: IO CGidSource
getgroups :: CInt -> Ptr CGid -> IO CIntSource
gethostid :: IO CLongSource
gethostname :: CString -> CSize -> IO CIntSource
getlogin :: IO CStringSource
getlogin_r :: CString -> CSize -> IO CIntSource
getopt :: CInt -> Ptr CString -> CString -> IO CIntSource
getpgid :: CPid -> IO CPidSource
getpgrp :: IO CPidSource
getpid :: IO CPidSource
getppid :: IO CPidSource
getsid :: CPid -> IO CPidSource
getuid :: IO CUidSource
isatty :: CInt -> IO CIntSource
lchown :: CString -> CUid -> CGid -> IO CIntSource
link :: CString -> CString -> IO CIntSource
linkat :: CInt -> CString -> CInt -> CString -> CInt -> IO CIntSource
lockf :: CInt -> CInt -> COff -> IO CIntSource
lseek :: CInt -> COff -> CInt -> IO COffSource
nice :: CInt -> IO CIntSource
pathconf :: CString -> CInt -> IO CLongSource
pause :: IO CIntSource
pipe :: Ptr CInt -> IO CIntSource
pread :: CInt -> Ptr () -> CSize -> COff -> IO CSSizeSource
pwrite :: CInt -> Ptr () -> CSize -> COff -> IO CSSizeSource
read :: CInt -> Ptr () -> CSize -> IO CSSizeSource
readlink :: CString -> CString -> CSize -> IO CSSizeSource
readlinkat :: CInt -> CString -> CString -> CSize -> IO CSSizeSource
rmdir :: CString -> IO CIntSource
setegid :: CGid -> IO CIntSource
seteuid :: CUid -> IO CIntSource
setgid :: CGid -> IO CIntSource
setpgid :: CPid -> CPid -> IO CIntSource
setregid :: CGid -> CGid -> IO CIntSource
setreuid :: CUid -> CUid -> IO CIntSource
setsid :: IO CPidSource
setuid :: CUid -> IO CIntSource
sleep :: CUInt -> IO CUIntSource
swab :: Ptr () -> Ptr () -> CSSize -> IO ()Source
symlink :: CString -> CString -> IO CIntSource
symlinkat :: CString -> CInt -> CString -> IO CIntSource
sync :: IO ()Source
sysconf :: CInt -> IO CULongSource
tcgetpgrp :: CInt -> IO CPidSource
tcsetpgrp :: CInt -> CPid -> IO CIntSource
truncate :: CString -> COff -> IO CIntSource
ttyname :: CInt -> IO CStringSource
ttyname_r :: CInt -> CString -> CSize -> IO CIntSource
unlink :: CString -> IO CIntSource
unlinkat :: CInt -> CString -> CInt -> IO CIntSource
write :: CInt -> Ptr () -> CSize -> IO CSSizeSource
optarg :: GlobalVariable (Ptr CString)Source
opterr :: GlobalVariable (Ptr CInt)Source
optind :: GlobalVariable (Ptr CInt)Source
optopt :: GlobalVariable (Ptr CInt)Source
utmpx.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/utmpx.h.html
data Utmpx Source
Constructors
Utmpx
utmpx'ut_user :: CChar
utmpx'ut_id :: CString
utmpx'ut_line :: CChar
utmpx'ut_pid :: CPid
utmpx'ut_type :: CShort
utmpx'ut_tv :: Timeval
show/hide Instances
_BOOT_TIME
_OLD_TIME
_NEW_TIME
_USER_PROCESS
_INIT_PROCESS
_LOGIN_PROCESS
_DEAD_PROCESS
endutxent :: IO ()Source
getutxent :: IO (Ptr Utmpx)Source
getutxid :: Ptr Utmpx -> IO (Ptr Utmpx)Source
getutxline :: Ptr Utmpx -> IO (Ptr Utmpx)Source
pututxline :: Ptr Utmpx -> IO (Ptr Utmpx)Source
setutxent :: IO ()Source
wchar.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html
mbsnrtowcs :: Ptr CWchar -> Ptr CString -> CSize -> CSize -> Ptr Mbstate_t -> IO CSizeSource
open_wmemstream :: Ptr (Ptr CWchar) -> Ptr CSize -> IO (Ptr CFile)Source
wcpcpy :: Ptr CWchar -> Ptr CWchar -> IO (Ptr CWchar)Source
wcpncpy :: Ptr CWchar -> Ptr CWchar -> CSize -> IO CWcharSource
wcscasecmp :: Ptr CWchar -> Ptr CWchar -> IO CIntSource
wcsdup :: Ptr CWchar -> IO CWcharSource
wcsncasecmp :: Ptr CWchar -> Ptr CWchar -> CSize -> IO CIntSource
wcsnlen :: Ptr CWchar -> CSize -> IO CSizeSource
wcsnrtombs :: CString -> Ptr (Ptr CWchar) -> CSize -> CSize -> Ptr Mbstate_t -> IO CSizeSource
wcswidth :: Ptr CWchar -> CSize -> IO CIntSource
wctype.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/wctype.h.html
wordexp.h
http://www.opengroup.org/onlinepubs/9699919799/basedefs/wordexp.h.html
data Wordexp_t Source
Constructors
Wordexp_t
wordexp_t'we_wordc :: CSize
wordexp_t'we_wordv :: Ptr CString
wordexp_t'we_offs :: CSize
show/hide Instances
_WRDE_APPEND
_WRDE_DOOFFS
_WRDE_NOCMD
_WRDE_REUSE
_WRDE_SHOWERR
_WRDE_UNDEF
_WRDE_BADCHAR
_WRDE_BADVAL
_WRDE_CMDSUB
_WRDE_NOSPACE
_WRDE_SYNTAX
wordexp :: CString -> Ptr Wordexp_t -> CInt -> IO CIntSource
wordfree :: Ptr Wordexp_t -> IO ()Source
Produced by Haddock version 2.4.2