# vlibc — authoritative L1+L2 symbol manifest (todo 6). # # The working conformance target for the POSIX.1-2008 surface (L1, onlyposix) # plus the muslmimic surface (L2). One symbol per line; lines are LC_ALL=C # sorted for deterministic diffs. A bare name is L1 (POSIX.1-2008 base / # ISO C); a trailing " L2" marks a symbol gated at VLIBC_LEVEL >= 2 (XSI, # BSD, or obsolescent-[OB] compat per the plan's per-todo gate sentences). # L3-only symbols (strcasestr, open_wmemstream, versionsort, wcpcpy, # wcpncpy, getopt_long, the GNU *_r database forms, ...) and internal ABI # helpers (__errno_location, __libc_start_main, __syscall*, vlibc_version) # are deliberately NOT listed: this manifest covers the POSIX function # surface, not the implementation ABI. # # Enumerated from the What-to-do lists of todos 1-69 in # .omo/plans/full-posix.md, with every prose shorthand expanded literally # ("f/l variants", "(all float/long double)", "c...f/c...l", "*_r" forms, # get*/get*_r pairs, v* printf/scanf variants, isw*_l/tow*_l sets) — per # todo 6's instruction this is authored by reading the lists, not by grep. # Task 69 verifies this manifest against the delivered symbols (and may # correct it in place for classification errors); final-verifier F4 # re-derives the L1+L2 set independently from IEEE 1003.1-2008 and diffs # against it. Functions only: variables (environ, optarg, optind, opterr, # optopt, tzname, daylight, timezone, signgam) and constants are not listed. _Exit _exit _longjmp _setjmp abort abs accept access acos acosf acosh acoshf acoshl acosl aio_cancel aio_error aio_fsync aio_read aio_return aio_suspend aio_write alarm aligned_alloc alphasort L2 asctime asctime_r L2 asin asinf asinh asinhf asinhl asinl asprintf L2 at_quick_exit atan atan2 atan2f atan2l atanf atanh atanhf atanhl atanl atexit atof atoi atol atoll basename L2 bcmp L2 bcopy L2 bind bsearch btowc bzero L2 c16rtomb c32rtomb cabs cabsf cabsl cacos cacosf cacosh cacoshf cacoshl cacosl calloc carg cargf cargl casin casinf casinh casinhf casinhl casinl catan catanf catanh catanhf catanhl catanl catclose L2 catgets L2 catopen L2 cbrt cbrtf cbrtl ccos ccosf ccosh ccoshf ccoshl ccosl ceil ceilf ceill cexp cexpf cexpl cfgetispeed cfgetospeed cfmakeraw L2 cfsetispeed cfsetospeed cfsetspeed L2 chdir chmod chown chroot L2 cimag clearenv L2 clearerr clock clock_getcpuclockid clock_getres clock_gettime clock_nanosleep clock_settime clog clogf clogl close closedir closelog L2 cnd_signal cnd_wait confstr conj connect copysign copysignf copysignl cos cosf cosh coshf coshl cosl cpolar cpolarf cpolarl cpow cpowf cpowl cproj cprojf cprojl creal creat crypt L2 csin csinf csinh csinhf csinhl csinl csqrt csqrtf csqrtl ctan ctanf ctanh ctanhf ctanhl ctanl ctermid L2 ctime ctime_r L2 daemon L2 dbm_clearerr L2 dbm_close L2 dbm_delete L2 dbm_error L2 dbm_fetch L2 dbm_firstkey L2 dbm_nextkey L2 dbm_open L2 dbm_store L2 difftime dirfd dirname L2 div dlclose dlerror dlopen dlsym dprintf drand48 L2 dup dup2 dup3 L2 duplocale L2 encrypt L2 endgrent endprotoent endpwent endservent endutxent L2 erand48 L2 erf erfc err L2 errx L2 execl execle execlp execv execve execvp exit exp exp2 exp2f exp2l expf expl explicit_bzero L2 expm1 expm1f expm1l fabs fabsf fabsl faccessat fchdir fchmod fchmodat fchown fchownat fclose fcntl fdatasync fdim fdimf fdiml fdopen fdopendir feof ferror fexecve fflush ffs L2 ffsl L2 ffsll L2 fgetc fgetgrent L2 fgetpos fgetpwent L2 fgets fgetwc fgetws fileno flockfile floor floorf floorl fma fmaf fmax fmaxf fmaxl fmemopen fmin fminf fminl fmod fmodf fmodl fmtmsg L2 fnmatch fopen fopen64 L2 fopencookie L2 fork fpathconf fprintf fputc fputs fputwc fputws fread free freeaddrinfo freelocale L2 freopen frexp frexpf frexpl fscanf fseek fseeko fsetpos fstat fstatat fstatvfs L2 fsync ftell ftello ftime L2 ftok L2 ftruncate ftrylockfile ftw L2 funlockfile futimens futimes L2 fwide fwprintf fwrite fwscanf gai_strerror getaddrinfo getc getc_unlocked getchar getchar_unlocked getcontext L2 getcwd getdelim getegid getenv geteuid getgid getgrent getgrgid getgrgid_r getgrnam getgrnam_r getgroups gethostid L2 gethostname L2 getitimer L2 getline getlogin getlogin_r getnameinfo getopt getpeername getpgid L2 getpgrp getpid getppid getpriority L2 getprotobyname getprotobynumber getprotoent getpwent getpwnam getpwnam_r getpwuid getpwuid_r getrlimit L2 getrlimit64 L2 getrusage L2 getservbyname getservbyport getservent getsid L2 getsockname getsockopt getsubopt L2 gettimeofday L2 getuid getutxent L2 getutxid L2 getutxline L2 getwc getwchar getwd L2 glob L2 globfree L2 gmtime gmtime_r grantpt L2 hcreate L2 hdestroy L2 hsearch L2 htonl htons hypot hypotf hypotl iconv L2 iconv_close L2 iconv_open L2 if_freenameindex L2 if_indextoname L2 if_nameindex L2 if_nametoindex L2 ilogb ilogbf ilogbl imaxabs imaxdiv index L2 inet_addr L2 inet_aton L2 inet_ntoa L2 inet_ntop inet_pton initstate L2 insque L2 isalnum isalpha isascii L2 isatty isblank iscntrl isdigit isgraph islower isprint ispunct isspace isupper iswalnum iswalnum_l L2 iswalpha iswalpha_l L2 iswblank iswblank_l L2 iswcntrl iswcntrl_l L2 iswctype iswdigit iswdigit_l L2 iswgraph iswgraph_l L2 iswlower iswlower_l L2 iswprint iswprint_l L2 iswpunct iswpunct_l L2 iswspace iswspace_l L2 iswupper iswupper_l L2 iswxdigit iswxdigit_l L2 isxdigit jrand48 L2 kill killpg labs lchown lcong48 L2 ldexp ldexpf ldexpl ldiv lfind L2 lgamma lgamma_r L2 lgammaf_r L2 lgammal_r L2 link linkat lio_listio listen llabs lldiv llrint llrintf llrintl llround llroundf llroundl localeconv localtime localtime_r lockf L2 log log10 log10f log10l log1p log1pf log1pl log2 log2f log2l logb logbf logbl logf logl longjmp lrand48 L2 lrint lrintf lrintl lround lroundf lroundl lsearch L2 lseek lseek64 L2 lstat lutimes L2 madvise L2 makecontext L2 malloc malloc_usable_size L2 mblen mbrlen mbrtoc16 mbrtoc32 mbrtowc mbsinit mbsrtowcs mbstowcs mbtowc memccpy L2 memchr memcmp memcpy memmem L2 memmove memset mkdir mkdirat mkdtemp mkfifo mkfifoat mknod L2 mknodat L2 mkstemp mktemp L2 mktime mlock mlockall mmap modf modff modfl mprotect mq_close mq_getattr mq_notify mq_open mq_receive mq_send mq_setattr mq_timedreceive mq_timedsend mq_unlink mrand48 L2 msgctl L2 msgget L2 msgrcv L2 msgsnd L2 msync mtx_init mtx_lock mtx_unlock munlock munlockall munmap nan nanf nanosleep nearbyint nearbyintf nearbyintl newlocale L2 nextafter nexttoward nftw L2 nice L2 nl_langinfo L2 nrand48 L2 ntohl ntohs open open_memstream openat opendir openlog L2 pathconf pause pclose perror pipe pipe2 L2 poll popen posix_fadvise posix_fallocate posix_madvise posix_memalign posix_openpt L2 posix_spawn posix_spawn_file_actions_addclose posix_spawn_file_actions_adddup2 posix_spawn_file_actions_addopen posix_spawn_file_actions_destroy posix_spawn_file_actions_init posix_spawnattr_destroy posix_spawnattr_getflags posix_spawnattr_getpgroup posix_spawnattr_getschedparam posix_spawnattr_getschedpolicy posix_spawnattr_getsigdefault posix_spawnattr_getsigmask posix_spawnattr_init posix_spawnattr_setflags posix_spawnattr_setpgroup posix_spawnattr_setschedparam posix_spawnattr_setschedpolicy posix_spawnattr_setsigdefault posix_spawnattr_setsigmask posix_spawnp pow powf powl ppoll L2 pread printf pselect psiginfo L2 psignal L2 pthread_atfork pthread_attr_destroy pthread_attr_getdetachstate pthread_attr_getguardsize pthread_attr_getinheritsched pthread_attr_getschedparam pthread_attr_getschedpolicy pthread_attr_getscope pthread_attr_getstack pthread_attr_getstackaddr L2 pthread_attr_getstacksize pthread_attr_init pthread_attr_setdetachstate pthread_attr_setguardsize pthread_attr_setinheritsched pthread_attr_setschedparam pthread_attr_setschedpolicy pthread_attr_setscope pthread_attr_setstack pthread_attr_setstackaddr L2 pthread_attr_setstacksize pthread_barrier_destroy pthread_barrier_init pthread_barrier_wait pthread_barrierattr_destroy pthread_barrierattr_getpshared pthread_barrierattr_init pthread_barrierattr_setpshared pthread_cancel pthread_cond_broadcast pthread_cond_destroy pthread_cond_init pthread_cond_signal pthread_cond_timedwait pthread_cond_wait pthread_condattr_destroy pthread_condattr_getclock pthread_condattr_getpshared pthread_condattr_init pthread_condattr_setclock pthread_condattr_setpshared pthread_create pthread_detach pthread_equal pthread_exit pthread_getcpuclockid pthread_getschedparam pthread_getspecific pthread_join pthread_key_create pthread_key_delete pthread_kill pthread_mutex_consistent L2 pthread_mutex_destroy pthread_mutex_getprioceiling L2 pthread_mutex_init pthread_mutex_lock pthread_mutex_setprioceiling L2 pthread_mutex_timedlock pthread_mutex_trylock pthread_mutex_unlock pthread_mutexattr_destroy pthread_mutexattr_getprioceiling L2 pthread_mutexattr_getprotocol L2 pthread_mutexattr_getpshared pthread_mutexattr_getrobust L2 pthread_mutexattr_gettype pthread_mutexattr_init pthread_mutexattr_setprioceiling L2 pthread_mutexattr_setprotocol L2 pthread_mutexattr_setpshared pthread_mutexattr_setrobust L2 pthread_mutexattr_settype pthread_once pthread_rwlock_destroy pthread_rwlock_init pthread_rwlock_rdlock pthread_rwlock_timedrdlock pthread_rwlock_timedwrlock pthread_rwlock_tryrdlock pthread_rwlock_trywrlock pthread_rwlock_unlock pthread_rwlock_wrlock pthread_rwlockattr_destroy pthread_rwlockattr_getpshared pthread_rwlockattr_init pthread_rwlockattr_setpshared pthread_self pthread_setcancelstate pthread_setcanceltype pthread_setschedparam pthread_setschedprio pthread_setspecific pthread_sigmask pthread_spin_destroy pthread_spin_init pthread_spin_lock pthread_spin_trylock pthread_spin_unlock pthread_testcancel ptsname L2 putc putc_unlocked putchar putchar_unlocked putenv L2 putgrent L2 putpwent L2 puts pututxline L2 putwc putwchar pwrite qsort quick_exit raise rand rand_r L2 random L2 read readdir readdir_r L2 readlink readlinkat readv realloc realpath L2 recv recvfrom recvmsg regcomp L2 regerror L2 regexec L2 regfree L2 remainder remainderf remainderl remove remque L2 remquo remquof remquol rename renameat rewind rewinddir rindex L2 rint rintf rintl rmdir round roundf roundl scalbln scalblnf scalblnl scalbn scalbnf scalbnl scandir L2 scanf sched_get_priority_max sched_get_priority_min sched_getparam sched_getscheduler sched_rr_get_interval sched_setparam sched_setscheduler sched_yield seed48 L2 seekdir select sem_close sem_destroy sem_getvalue sem_init sem_open sem_post sem_timedwait sem_trywait sem_unlink sem_wait semctl L2 semget L2 semop L2 send sendmsg sendto setbuf setbuffer L2 setcontext L2 setegid setenv seteuid setgid setgrent setgroups L2 sethostname L2 setitimer L2 setjmp setkey L2 setlinebuf L2 setlocale setlogmask L2 setpgid setpgrp L2 setpriority L2 setprotoent setpwent setrlimit L2 setrlimit64 L2 setservent setsid setsockopt setstate L2 settimeofday L2 setuid setutxent L2 setvbuf shm_open shm_unlink shmat L2 shmctl L2 shmdt L2 shmget L2 shutdown sigaction sigaddset sigaltstack L2 sigdelset sigemptyset sigfillset siginterrupt L2 sigismember siglongjmp signal signbit sigpending sigprocmask sigqueue sigsetjmp sigsuspend sigtimedwait sigwait sigwaitinfo sin sinf sinh sinhf sinhl sinl sleep snprintf sockatmark socket socketpair sprintf sqrt sqrtf sqrtl srand srand48 L2 srandom L2 sscanf stat statvfs L2 stpcpy L2 stpncpy L2 strcasecmp L2 strcat strchr strchrnul L2 strcmp strcoll strcoll_l L2 strcpy strcspn strdup strerror strerror_r L2 strfmon L2 strftime strftime_l L2 strlcat L2 strlcpy L2 strlen strncasecmp L2 strncat strncmp strncpy strndup strnlen strpbrk strptime L2 strrchr strsep L2 strsignal strspn strstr strtod strtof strtoimax strtok strtok_r strtol strtold strtoll strtoul strtoull strtoumax strxfrm strxfrm_l L2 swab L2 swapcontext L2 swprintf swscanf symlink symlinkat sync sysconf sysinfo L2 syslog L2 system tan tanf tanh tanhf tanhl tanl tcdrain tcflow tcflush tcgetattr tcgetpgrp L2 tcgetsid L2 tcsendbreak tcsetattr tcsetpgrp L2 tdelete L2 telldir tfind L2 tgamma thrd_create thrd_detach thrd_exit thrd_join thrd_yield time timegm L2 timer_create timer_delete timer_getoverrun timer_gettime timer_settime times L2 timespec_get timingsafe_memcmp L2 tmpfile tmpnam L2 toascii L2 tolower toupper towctrans towlower towlower_l L2 towupper towupper_l L2 trunc truncate L2 truncf truncl tsearch L2 tss_create tss_get tss_set ttyname ttyname_r twalk L2 tzset ualarm L2 ulimit L2 umask uname L2 ungetc ungetwc unlink unlinkat unlockpt L2 unsetenv uselocale L2 usleep L2 utime L2 utimensat utimes L2 vasprintf L2 vdprintf verr L2 verrx L2 vfork L2 vfprintf vfscanf vfwprintf vfwscanf vprintf vscanf vsnprintf vsprintf vsscanf vswprintf vswscanf vsyslog L2 vwarn L2 vwarnx L2 vwprintf vwscanf wait wait3 L2 wait4 L2 waitid waitpid warn L2 warnx L2 wcrtomb wcscat wcschr wcscmp wcscoll wcscpy wcscspn wcsdup wcsftime wcslen wcsncat wcsncmp wcsncpy wcsnlen L2 wcspbrk wcsrchr wcsrtombs wcsspn wcsstr wcstod wcstof wcstoimax wcstok wcstol wcstold wcstoll wcstombs wcstoul wcstoull wcstoumax wcswidth L2 wcsxfrm wctob wctomb wctrans wctype wcwidth L2 wmemchr wmemcmp wmemcpy wmemmove wmemset wordexp L2 wordfree L2 wprintf write writev wscanf