2007-09-21 Patrick Mansfield <patmans@us.ibm.com>

* libc/include/sched.h: New file, just include sys/sched.h.
        * libc/machine/spu/sys/sched.h: New file, has just sched_yield
        prototype.
        * libc/machine/spu/sys/utime.h: New file, has utime prototype and
        struct utimbuf definition.
This commit is contained in:
Jeff Johnston 2007-09-21 21:02:15 +00:00
parent 12df0c42e9
commit 2f3d28fca2
4 changed files with 51 additions and 0 deletions

View File

@ -1,3 +1,11 @@
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
* libc/include/sched.h: New file, just include sys/sched.h.
* libc/machine/spu/sys/sched.h: New file, has just sched_yield
prototype.
* libc/machine/spu/sys/utime.h: New file, has utime prototype and
struct utimbuf definition.
2007-09-21 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/sys/dirent.h: New file, add prototypes and SPU

View File

@ -0,0 +1,14 @@
#ifndef _SCHED_H_
#define _SCHED_H_
#ifdef __cplusplus
extern "C" {
#endif
#include <sys/sched.h>
#ifdef __cplusplus
}
#endif
#endif /* _SCHED_H_ */

View File

@ -0,0 +1,6 @@
#ifndef _SYS_SCHED_H
#define _SYS_SCHED_H
int sched_yield(void);
#endif

View File

@ -0,0 +1,23 @@
#ifndef _SYS_UTIME_H
#define _SYS_UTIME_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* Per POSIX
*/
struct utimbuf
{
time_t actime;
time_t modtime;
};
int utime(const char *, const struct utimbuf *);
#ifdef __cplusplus
};
#endif
#endif