1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 12:28:12 +00:00
serenity/Userland/Libraries/LibC
Andreas Kling b0f19c2af4 LibC: Templatize unique filename enumeration for mkstemp() et al
This allows us to implement mkstemp() with open() directly, instead of
first lstat()'ing, and then open()'ing the filename.

Also implement tmpfile() in terms of mkstemp() instead of mktemp().
2021-01-22 19:39:44 +01:00
..
arpa Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
bits Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
net Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
netinet Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
sys Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
alloca.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
assert.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
assert.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
byteswap.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CMakeLists.txt Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crt0.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crt0_shared.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crti.S Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
crtn.S Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ctype.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ctype.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
cxxabi.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
dirent.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
dirent.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
dlfcn.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
dlfcn.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
endian.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
errno.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
errno_numbers.h Kernel+LibC: Turn errno codes into a strongly typed enum 2021-01-20 23:20:02 +01:00
fcntl.cpp LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
fcntl.h LibC+Everywhere: Remove open_with_path_length() in favor of open() 2021-01-12 23:34:01 +01:00
fd_set.h LibC: Bump FD_SETSIZE to 1024 2021-01-16 11:26:53 +01:00
float.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
getopt.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
getopt.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
grp.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
grp.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
iconv.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
inttypes.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ioctl.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
libcinit.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
libgen.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
libgen.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
limits.h LibC: Add TTY_NAME_MAX (32) 2021-01-18 22:28:56 +01:00
locale.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
locale.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
malloc.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
mallocdefs.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
memory.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
mman.cpp Kernel: Remove unused syscall sys$minherit() 2021-01-16 14:52:04 +01:00
mman.h Kernel: Remove unused syscall sys$minherit() 2021-01-16 14:52:04 +01:00
mntent.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
mntent.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
netdb.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
netdb.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
paths.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
poll.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
poll.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
pwd.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
pwd.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
qsort.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
regex.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
scanf.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
sched.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
sched.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
serenity.cpp Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
serenity.h Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
serenity.h.rej Kernel: Some futex improvements 2021-01-17 20:30:31 +01:00
setjmp.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
setjmp.S Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
signal.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
signal.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
signal_numbers.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
spawn.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
spawn.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ssp.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stat.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdarg.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdbool.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stddef.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdint.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdio.cpp LibC: Templatize unique filename enumeration for mkstemp() et al 2021-01-22 19:39:44 +01:00
stdio.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
stdlib.cpp LibC: Templatize unique filename enumeration for mkstemp() et al 2021-01-22 19:39:44 +01:00
stdlib.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
string.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
string.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
strings.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
strings.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
syslog.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
syslog.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
termcap.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
termcap.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
termios.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
termios.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
time.cpp LibC: Return ENOSYS from clock_getres() rather than asserting 2021-01-18 22:28:56 +01:00
time.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
times.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ulimit.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
ulimit.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
unistd.cpp LibC: Change a couple of ASSERT_NOT_REACHED() to TODO() 2021-01-17 08:43:46 +01:00
unistd.h Kernel+LibC: Add _SC_TTY_NAME_MAX 2021-01-18 22:28:56 +01:00
utime.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
utime.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
utmp.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
utsname.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
wchar.cpp LibC: Add wcstol() and wcstoll() stubs 2021-01-18 22:28:56 +01:00
wchar.h LibC: Add wcstol() and wcstoll() stubs 2021-01-18 22:28:56 +01:00