fix errno behavior in clock_* functions

these functions are specified inconsistent in whether they're
specified to return an error value, or return -1 and set errno.
hopefully now they all match what POSIX requires.
This commit is contained in:
Rich Felker 2011-03-10 09:54:23 -05:00
parent 500c969f05
commit 1b538acb0a
3 changed files with 0 additions and 3 deletions

View File

@ -1,4 +1,3 @@
#define SYSCALL_RETURN_ERRNO
#include <time.h>
#include "syscall.h"

View File

@ -1,4 +1,3 @@
#define SYSCALL_RETURN_ERRNO
#include <time.h>
#include "syscall.h"

View File

@ -1,4 +1,3 @@
#define SYSCALL_RETURN_ERRNO
#include <time.h>
#include "syscall.h"