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:
Ralf Corsepius
2007-04-14 03:53:43 +00:00
parent f8518873ec
commit dfa10d2836
3 changed files with 9 additions and 4 deletions

View File

@@ -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,

View File

@@ -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;

View File

@@ -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;