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>
|
2007-04-13 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||||
|
|
||||||
* posix/Makefile.am: Unconditionally build src/sleep.c,
|
* posix/Makefile.am: Unconditionally build src/sleep.c,
|
||||||
|
|||||||
@@ -18,10 +18,10 @@
|
|||||||
#include <rtems/libio_.h>
|
#include <rtems/libio_.h>
|
||||||
#include <rtems/seterr.h>
|
#include <rtems/seterr.h>
|
||||||
|
|
||||||
int readlink(
|
ssize_t readlink(
|
||||||
const char *pathname,
|
const char *pathname,
|
||||||
char *buf,
|
char *buf,
|
||||||
int bufsize
|
size_t bufsize
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
rtems_filesystem_location_info_t loc;
|
rtems_filesystem_location_info_t loc;
|
||||||
|
|||||||
@@ -15,8 +15,8 @@
|
|||||||
#include <rtems/score/tod.h>
|
#include <rtems/score/tod.h>
|
||||||
|
|
||||||
|
|
||||||
unsigned usleep(
|
int usleep(
|
||||||
unsigned int useconds
|
useconds_t useconds
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
struct timespec tp;
|
struct timespec tp;
|
||||||
|
|||||||
Reference in New Issue
Block a user