forked from Imagelibrary/rtems
2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
* posix/src/usleep.c, libcsupport/src/readlink.c: Update API to SUSv3.
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-04-14 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* posix/src/usleep.c, libcsupport/src/readlink.c:
|
||||
Update API to SUSv3.
|
||||
|
||||
2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* posix/Makefile.am: Unconditionally build src/sleep.c,
|
||||
|
||||
@@ -18,10 +18,10 @@
|
||||
#include <rtems/libio_.h>
|
||||
#include <rtems/seterr.h>
|
||||
|
||||
int readlink(
|
||||
ssize_t readlink(
|
||||
const char *pathname,
|
||||
char *buf,
|
||||
int bufsize
|
||||
size_t bufsize
|
||||
)
|
||||
{
|
||||
rtems_filesystem_location_info_t loc;
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
#include <rtems/score/tod.h>
|
||||
|
||||
|
||||
unsigned usleep(
|
||||
unsigned int useconds
|
||||
int usleep(
|
||||
useconds_t useconds
|
||||
)
|
||||
{
|
||||
struct timespec tp;
|
||||
|
||||
Reference in New Issue
Block a user