1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00
sortix--sortix/kernel/include/sortix
Jonas 'Sortie' Termansen 6725972e11 Fix LinkInodeInDir return value.
The callers expected it to return an int different than 0 on failure. The
link method returns different than 0 on failure. This actually worked by
lucky coincidence. Change the return type to int and 0 on success, and -1
on failure per popular demand.

Thanks to Meisaka Yukara for spotting this.
2015-09-25 15:01:20 +02:00
..
__ Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
kernel Fix LinkInodeInDir return value. 2015-09-25 15:01:20 +02:00
clock.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
dirent.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
display.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
exit.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
fcntl.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
fork.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
initrd.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
itimerspec.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
keycodes.h Rename Sortix kernel directory to kernel. 2014-03-01 14:37:39 +01:00
limits.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
mman.h Remove sbrk(2). 2014-12-03 23:55:55 +01:00
mount.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
poll.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
resource.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
seek.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
sigaction.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
sigevent.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
siginfo.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
signal.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
sigprocmask.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
sigset.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
sigval.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
socket.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
stack.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
stat.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
statvfs.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
syscall.h Add closefrom(2). 2015-08-26 14:01:25 +02:00
termios.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
termmode.h Rename Sortix kernel directory to kernel. 2014-03-01 14:37:39 +01:00
time.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
timespec.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
tmns.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
types.h Rename Sortix kernel directory to kernel. 2014-03-01 14:37:39 +01:00
ucontext.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
uio.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
unistd.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
uthread.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
vga.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00
wait.h Remove __BEGIN_DECLS and __END_DECLS. 2015-08-26 14:52:44 +02:00