1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 13:47:45 +00:00

Add setvbuf(), setlinebuf(), setbuf().

This commit is contained in:
Andreas Kling 2018-11-11 10:11:09 +01:00
parent 7cc4caee4f
commit e48182d91b
6 changed files with 86 additions and 32 deletions

View file

@ -212,7 +212,7 @@ int isatty(int fd)
int getdtablesize()
{
int rc = Syscall::invoke(Syscall::SC_getdtablesize);
__RETURN_WITH_ERRNO(rc, 1, 0);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int dup(int old_fd)