1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/libc
Jonas 'Sortie' Termansen 221fa7d954 Rewrite scanf(3) to be standards compliant.
This change adds missing features:

* %[ for pattern matching with a scanset.
* %m for allocation of strings.
* %p for pointers.
* Field width for integers.

The following features remain unimplemented, like with printf(3):

* Floating point support.
* Wide character support.
* %n$ positional parameters.

The code has been completely refactored to be much more maintainable.

The implemented features should now be standards compliant. A large number
of edge cases have been fixed.

The vscanf_callback(3) function has been renamed to vcbscanf(3) and a new
cbscanf(3) function has been added.
2020-03-07 23:31:05 +01:00
..
arpa/inet Add inet_pton(3). 2017-02-14 20:43:30 +01:00
assert Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
blf Convert libc to C. 2016-03-03 23:02:23 +01:00
c++ Compile libc with -ffreestanding. 2016-05-15 22:43:29 +02:00
ctype Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dirent Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
dlfcn Make the branding system more neutral. 2016-05-15 22:43:29 +02:00
err Add errc(3) family. 2016-11-06 15:31:52 -06:00
errno Clean up errno. 2016-05-15 22:43:29 +02:00
error Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fcntl Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fnmatch Fix shift out of bounds in fnmatch(3). 2016-05-15 19:30:51 +02:00
fsmarshall Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
fstab Fix getline(3) and getdelim(3) usage. 2016-05-15 19:32:04 +02:00
getopt Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
grp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
include Rewrite scanf(3) to be standards compliant. 2020-03-07 23:31:05 +01:00
init Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
inttypes Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ioleast Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
langinfo Add nl_langinfo(3). 2016-10-03 20:02:12 +02:00
libgen Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
locale Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
malloc Fix double declaration of __heap_mutex. 2016-10-17 18:38:04 +02:00
msr Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
netdb Add getnameinfo(3). 2017-02-14 20:43:30 +01:00
netinet/in Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
poll Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
psctl Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
pthread Fix pthread stack alignment. 2016-05-15 19:30:51 +02:00
pty Add openpty(3). 2016-11-23 22:31:05 +01:00
pwd Fix <stdio.h> pulling in <pthread.h> through <FILE.h> when __is_sortix_libc. 2018-07-17 12:25:52 +02:00
regex Add REG_STARTEND. 2016-10-30 18:08:59 +01:00
sched Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
scram Document scram(2). 2017-02-12 13:59:07 +01:00
semaphore Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
signal Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ssp Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stdio Rewrite scanf(3) to be standards compliant. 2020-03-07 23:31:05 +01:00
stdio_ext Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
stdlib Don't unblock SIGABRT in abort(3) before calling raise(SIGABRT). 2018-09-01 12:56:07 +02:00
string Fix EDESTADDRREQ typo. 2016-12-28 23:08:29 +01:00
sys Allow AF_UNSPEC family in socketpair(2). 2017-08-26 16:49:57 +02:00
syslog Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
termios Add pseudo terminals. 2016-11-23 22:31:05 +01:00
time Add December 31 2016 leap second. 2016-10-30 21:20:00 +01:00
timespec Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
ubsan Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
unistd Fix typo in getentropy(2). 2018-02-04 13:39:37 +01:00
utime Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wchar Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
wctype Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
x64 Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
x86 Relicense Sortix to the ISC license. 2016-03-05 22:21:50 +01:00
.gitignore Rename libmaxsi to sortix libc. 2012-12-14 14:13:36 +01:00
Makefile Rewrite scanf(3) to be standards compliant. 2020-03-07 23:31:05 +01:00