apio pushed to main at apio/Luna 2022-10-15 12:32:03 +00:00
6507146c60 libc: Add Luna-specific limits
4bad782aad Kernel: Increment the maximum number of file descriptors a task can have
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-15 12:02:37 +00:00
f50017912d libc: Implement atoi(), atol() and atoll()
2395c7a871 libc: Implement _Exit
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-15 11:21:29 +00:00
b1739f7f0d libc: Add support for the new clock() system call
apio pushed to main at apio/Luna 2022-10-15 11:17:34 +00:00
62a2bcf2ff Kernel: Add a clock() system call
apio pushed to main at apio/Luna 2022-10-15 11:04:56 +00:00
3a9dddaa57 Kernel, libc: Remove the rand() system call
apio pushed to main at apio/Luna 2022-10-15 10:59:20 +00:00
225284a6ca libc: Add support for mprotect()
apio pushed to main at apio/Luna 2022-10-15 10:57:21 +00:00
613f8170b6 Kernel, libc: Implement mprotect() and use proper PROT_* values
62d631f1b4 Kernel: Rename assert.h to kassert.h so IDEs pickup the kernel header instead of the userspace one
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-15 10:33:43 +00:00
a002e75725 libc: Add strstr()
apio pushed to main at apio/Luna 2022-10-15 10:30:57 +00:00
3fde7e46f5 libc: Add strcmp() and strncmp()
apio pushed to main at apio/Luna 2022-10-15 10:23:45 +00:00
3e2a4276e9 libc: Add memcmp() and memmove()
apio pushed to main at apio/Luna 2022-10-15 10:18:52 +00:00
94a6336e4d libc: add memchr(), strnlen(), strdup(), and rename memclr() to bzero()
apio pushed to main at apio/Luna 2022-10-15 09:43:21 +00:00
523e88e5a9 libc: Add sched_yield()
apio pushed to main at apio/Luna 2022-10-15 09:39:22 +00:00
b0e071e964 libc: Make functions with no arguments be defined as type function(void)
apio pushed to main at apio/Luna 2022-10-15 09:20:28 +00:00
3e2bebf0aa libc: Alias __lc_unreachable to __builtin_unreachable
apio pushed to main at apio/Luna 2022-10-15 09:16:42 +00:00
1e86acd4c0 libc: Implement fcntl(F_DUPFD) and dup()
36bb1cab5c FileDescriptor: add operator=() so that the fcntl(F_DUPFD syscall compiles :)
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-15 08:56:14 +00:00
5c61252061 Kernel: Add a new fcntl() system call
3eb1bff2e9 Task: add an alloc_fd() function
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-15 08:28:59 +00:00
c77e752a82 libc: Implement fileno()
apio pushed to main at apio/Luna 2022-10-15 08:06:01 +00:00
d0d6557e99 libc: Add assert()
8398b2e2e4 libc: Change bits/macros.h to use a __lc_ prefix for internal macros
Compare 2 commits »
apio pushed to main at apio/Luna 2022-10-14 19:26:53 +00:00
1043b0772d Make libc exit with a specific code if program initialization fails
apio pushed to main at apio/Luna 2022-10-14 19:24:26 +00:00
d5bc87099f libc: #define STDOUT_FILENO and STDERR_FILENO