[ ] execle - sceAppmgrLoadExec. but we can't keep alarm(), etc.
[ ] execl
[ ] execlp
[ ] execvp
[ ] fexecve
[ ] faccessat - add custom cwd support to __realpath. rename and implement at-support in current non-at funcs, then proxy them to at-variant with AT_FDCWD for fd
[ ] fchmodat
[ ] fstatat
[ ] linkat
[ ] mkdirat
[ ] openat
[ ] readlinkat
[ ] renameat
[ ] unlinkat
[ ] utimensat
[ ] fattach - stub. we have no stream devices
[ ] fdetach
[ ] flockfile - implement with Lw mutexes? newlib seems to provide locking internally
[ ] ftrylockfile
[ ] funlockfile
[ ] fchown
[ ] fmtmsg
[ ] fnmatch - copy/port from posix
[ ] globfree
[ ] glob
[ ] ftw
[ ] nftw
[ ] ftok
[ ] getdate_err
[ ] getdate - copy from posix
[ ] getgrgid_r - stub
[ ] getgrnam_r - stub
[ ] gethostent
[ ] gethostid
[ ] gethostname
[ ] getitimer
[ ] getlogin
[ ] getlogin_r
[ ] getmsg
[ ] getnameinfo
[ ] getnetbyaddr
[ ] getnetbyname
[ ] getnetent
[ ] getpgrp
[ ] getpmsg
[ ] getppid
[ ] getprotobyname
[ ] getprotobynumber
[ ] getprotoent
[ ] getpwent
[ ] getpwnam
[ ] getpwnam_r
[ ] getpwuid
[ ] getpwuid_r
[ ] getservbyport
[ ] getservent
[ ] getutxent - no user account db. ENOTSUP
[ ] getutxid
[ ] getutxline
[ ] endutxent
[ ] pututxline
[ ] setutxent
[ ] grantpt - ???
[ ] if_freenameindex
[ ] if_indextoname
[ ] if_nameindex
[ ] if_nametoindex
[ ] initstate - inits random state. somehow it's missing from newlib?
[ ] setstate - same
[ ] insque - copy from posix?
[ ] remque
[ ] ioctl - stub?
[ ] isastream - stub, no streams
[ ] killpg - stub
[ ] lchown - alias to chown
[ ] lfind - copy from posix
[ ] lsearch
[ ] lockf
[ ] mkfifoat - via pipe?
[ ] mkfifo
[ ] mknodat - to fifo, otherwise EINVAL
[ ] mknod
[ ] mlockall - mmap impl
[ ] mlock
[ ] mmap
[ ] mprotect
[ ] msync
[ ] munlockall
[ ] munlock
[ ] munmap
[ ] mq_close - message queue. via messegepipe?
[ ] mq_getattr
[ ] mq_notify
[ ] mq_open
[ ] mq_receive
[ ] mq_send
[ ] mq_setattr
[ ] mq_timedreceive
[ ] mq_timedsend
[ ] mq_unlink
[ ] msgctl - ipc. ENOSUP?
[ ] msgget
[ ] msgrcv
[ ] msgsnd
[ ] nice - ENOSUP or always success
[ ] optarg - copy from posix, with getopt
[ ] opterr
[ ] optind
[ ] optopt
[ ] pause - either wait for event, or ENOTSUP
[ ] pclose - ENOTSUP
[ ] popen - ENOTSUP
[ ] pselect - rename select to pselect, implement signal catching, proxy select to it
Documentation
[ ] closelog - since syslog is printf, just set bool value to noop syslog
[ ] lio_listio
[ ] alarm
[ ] catopen
[ ] cfsetospeed
[ ] clock_nanosleep - implement using either delay or scekernelCreateTimer
[ ] ctermid - return
tty0:
?[ ] daylight - variable, not func.
[x] dlsym
[ ] dup2 - see dup, and docs
[ ] endservent
[ ] fexecve
[ ] utimensat
[ ] fdetach
[ ] funlockfile
[ ] fchown
[ ] fmtmsg
[ ] nftw
[ ] ftok
[ ] getdate - copy from posix
[ ] getgrnam_r - stub
[ ] gethostname
[ ] getitimer
[ ] getlogin_r
[ ] getmsg
[ ] getnetent
[ ] getservent
[ ] setutxent
[ ] grantpt - ???
[ ] if_nametoindex
[ ] setstate - same
[ ] remque
[ ] isastream - stub, no streams
[ ] killpg - stub
[ ] lchown - alias to chown
[ ] lsearch
[ ] lockf
[ ] mknod
[ ] munmap
[ ] mq_unlink
[ ] msgsnd
[ ] nice - ENOSUP or always success
[ ] optopt
[ ] pause - either wait for event, or ENOTSUP
[ ] popen - ENOTSUP
[ ] pselect - rename select to pselect, implement signal catching, proxy select to it
[ ] psiginfo
[ ] ptsname - ENOTSUP?
[ ] putpmsg - no streams support, ENOTSUP
[ ] writev
[ ] regfree
[ ] sethostent
[ ] setitimer
[ ] setkey - crypt/encrypt, XSI_VISIBLE
[ ] setservent
[ ] shm_unlink
[ ] sigwaitinfo
[ ] socketpair
[ ] symlink
[ ] tcsetpgrp
[ ] timezone
[ ] ttyname_r
[ ] tzname
[ ] ulimit - to setrlimit
[ ] umask
[ ] unlockpt
[x] utimes -https://github.com/vitasdk/newlib/pull/87
[ ] waitpid - ENOTSUP
[ ] wordfree
Most of those are probably a no-go completely
[ ] posix_fallocate
[ ] posix_mem_offset
[ ] posix_openpt
[ ] posix_spawnattr_setsigmask
[ ] posix_spawnp
[ ] posix_trace_trygetnext_event