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:
parent
500c969f05
commit
1b538acb0a
3 changed files with 0 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
#define SYSCALL_RETURN_ERRNO
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "syscall.h"
|
#include "syscall.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#define SYSCALL_RETURN_ERRNO
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "syscall.h"
|
#include "syscall.h"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
#define SYSCALL_RETURN_ERRNO
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include "syscall.h"
|
#include "syscall.h"
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue