summaryrefslogtreecommitdiff
path: root/src/user/lib/stdlib.c
AgeCommit message (Collapse)Author
2023-08-14reorganization: first stepsdzwdz
2023-06-17libc: expand psdata into a proper struct, include executable basedzwdz
this is very useful for debugging userland programs using the qemu gdb stub
2023-06-09ports/dash: stub out everything needed for dash to compiledzwdz
2023-06-08libc: move the strto* functions to stdlib.h, where they "belong"dzwdz
2023-02-23build: don't -Isrc/ in user codedzwdz
2023-01-25style: typedef structs, shorter namespacesdzwdz
I've wanted to do this for a while, and since I've just had a relatively large refactor commit (pcpy), this is as good of a time as any. Typedefing structs was mostly inspired by Plan 9's coding style. It makes some lines of code much shorter at basically no expense. Everything related to userland kept old-style struct definitions, so as not to force that style onto other people. I also considered changing SCREAMING_ENUM_FIELDS to NicerLookingCamelcase, but I didn't, just in case that'd be confusing.
2023-01-25user: process titles, /bin/psdzwdz
2022-10-19user/libc: BSD err.h, getprogname()dzwdz
2022-10-04user/libc: camellia_open, takes cwd into accountdzwdz
2022-10-02syscall/open: add the full suite of READ/WRITE flagsdzwdz
2022-09-02user/ports: bare minimum to run doomgenericdzwdz
2022-08-26user/libc: prepare for OpenED portdzwdz
2022-08-26user/libc: rename stdlib.c to unistd.c to match header namesdzwdz
2022-08-12user/libc: getcwd() bounds checkingdzwdz
2022-08-09user/libc: preserve cwd through exec()dzwdz
2022-08-08user/libc: cwddzwdz
2022-08-07user/libc: preparation for dlmalloc portdzwdz
2022-08-07user/libc: strchrdzwdz
2022-07-27user/exec: shebang supportdzwdz
2022-07-27user/libc: execve() supports passing argv nowdzwdz
2022-07-26user/libc: execv()dzwdz
2022-07-26user/libc: exit()dzwdz
What an interesting commit.
2022-07-26user/libc: separate into filesdzwdz
2022-07-26user/libc: make FILE an opaque typedzwdz
2022-07-26user/libc: fread, fwrite, fclosedzwdz
2022-07-26user/libc: fdopendzwdz
2022-07-26user: posix-compatible FILE* openingdzwdz
2022-07-26user: move the POSIX-y stuff to the proper header filesdzwdz
2022-07-26shared: move some headers from shared/ to camellia/dzwdz
2022-07-26tools: add tools/sort_includes.rbdzwdz
2022-07-14user/shell/cat: support reading from stdin until eofdzwdz
2022-07-11user: add shorthand close() and fork() wrappers for those syscallsdzwdz
2022-07-11user: reorganize the userland sourcesdzwdz