mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
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:
parent
12df0c42e9
commit
2f3d28fca2
@ -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
|
||||
|
14
newlib/libc/include/sched.h
Normal file
14
newlib/libc/include/sched.h
Normal 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_ */
|
6
newlib/libc/machine/spu/sys/sched.h
Normal file
6
newlib/libc/machine/spu/sys/sched.h
Normal file
@ -0,0 +1,6 @@
|
||||
#ifndef _SYS_SCHED_H
|
||||
#define _SYS_SCHED_H
|
||||
|
||||
int sched_yield(void);
|
||||
|
||||
#endif
|
23
newlib/libc/machine/spu/sys/utime.h
Normal file
23
newlib/libc/machine/spu/sys/utime.h
Normal 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
|
Loading…
x
Reference in New Issue
Block a user