C POSIX Library

Scala Native provides bindings for a core POSIX subset in accordance with The Open Group Base Specifications Issue 8 IEEE Std 1003.1™-2024 Edition. See the Headers link for details.

Supported classes

For a list of currently supported POSIX Library types and methods refer to scaladoc package or consult the details that follow.

Supported Headers and Source Location

C Header Scala Native Module
aio.h N/A - indicates binding not available
arpa/inet.h scala.scalanative.posix.arpa.inet[^1]
arpa/inet.h scala.scalanative.posix.arpa.inet[^1]
assert.h N/A
assert.h N/A
complex.h scala.scalanative.posix.complex
complex.h scala.scalanative.posix.complex
cpio.h scala.scalanative.posix.cpio
cpio.h scala.scalanative.posix.cpio
ctype.h scala.scalanative.posix.ctype
ctype.h scala.scalanative.posix.ctype
dirent.h scala.scalanative.posix.dirent
dirent.h scala.scalanative.posix.dirent
dlfcn.h scala.scalanative.posix.dlfcn
dlfcn.h scala.scalanative.posix.dlfcn
errno.h scala.scalanative.posix.errno
errno.h scala.scalanative.posix.errno
fcntl.h scala.scalanative.posix.fcntl
fcntl.h scala.scalanative.posix.fcntl
fenv.h scala.scalanative.posix.fenv
fenv.h scala.scalanative.posix.fenv
float.h scala.scalanative.posix.float
float.h scala.scalanative.posix.float
fmtmsg.h N/A
fmtmsg.h N/A
fnmatch.h scala.scalanative.posix.fnmatch
fnmatch.h scala.scalanative.posix.fnmatch
ftw.h N/A
ftw.h N/A
getopt.h scala.scalanative.posix.getopt
getopt.h scala.scalanative.posix.getopt
glob.h scala.scalanative.posix.glob
glob.h scala.scalanative.posix.glob
grp.h scala.scalanative.posix.grp
grp.h scala.scalanative.posix.grp
iconv.h N/A
iconv.h N/A
inttypes.h scala.scalanative.posix.inttypes
inttypes.h scala.scalanative.posix.inttypes
iso646.h N/A
langinfo.h scala.scalanative.posix.langinfo
libgen.h scala.scalanative.posix.libgen
limits.h scala.scalanative.posix.limits
locale.h scala.scalanative.posix.locale
math.h scala.scalanative.posix.math
monetary.h scala.scalanative.posix.monetary[^2]
mqueue.h N/A
ndbm.h N/A
net/if.h scala.scalanative.posix.net.if
netdb.h scala.scalanative.posix.netdb
netinet/in.h scala.scalanative.posix.netinet.in
netinet/tcp.h scala.scalanative.posix.netinet.tcp
nl_types.h scala.scalanative.posix.nl_types
poll.h scala.scalanative.posix.poll
pthread.h scala.scalanative.posix.pthread
pwd.h scala.scalanative.posix.pwd
regex.h scala.scalanative.posix.regex
sched.h scala.scalanative.posix.sched
search.h N/A
semaphore.h N/A
setjmp.h N/A
signal.h scala.scalanative.posix.signal
spawn.h scala.scalanative.posix.spawn
stdarg.h N/A
stdbool.h N/A
stddef.h scala.scalanative.posix.stddef
stdint.h scala.scalanative.posix.stdint
stdio.h scala.scalanative.posix.stdio
stdlib.h scala.scalanative.posix.stdlib
string.h scala.scalanative.posix.string
strings.h scala.scalanative.posix.strings
sys/ipc.h N/A
sys/mman.h scala.scalanative.posix.sys.mman
sys/msg.h N/A
sys/resource.h scala.scalanative.posix.sys.resource
sys/select.h scala.scalanative.posix.sys.select
sys/sem.h N/A
sys/shm.h N/A
sys/socket.h scala.scalanative.posix.sys.socket
sys/stat.h scala.scalanative.posix.sys.stat
sys/statvfs.h scala.scalanative.posix.sys.statvfs
sys/time.h scala.scalanative.posix.sys.time
sys/times.h scala.scalanative.posix.sys.times
sys/types.h scala.scalanative.posix.sys.types
sys/uio.h scala.scalanative.posix.sys.uio
sys/un.h scala.scalanative.posix.sys.un
sys/utsname.h scala.scalanative.posix.sys.utsname
sys/wait.h scala.scalanative.posix.sys.wait
syslog.h scala.scalanative.posix.syslog
tar.h N/A
termios.h scala.scalanative.posix.termios
tgmath.h scala.scalanative.posix.tgmath
time.h scala.scalanative.posix.time
trace.h N/A
unistd.h scala.scalanative.posix.unistd
utime.h scala.scalanative.posix.utime
utmpx.h N/A
wchar.h scala.scalanative.posix.wchar
wctype.h N/A
wordexp.h scala.scalanative.posix.wordexp

Continue to communitylib