forked from Imagelibrary/rtems
New files added as part of file system infrastructure effort.
This commit is contained in:
17
c/src/exec/posix/include/sys/ioctl.h
Normal file
17
c/src/exec/posix/include/sys/ioctl.h
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __SYS_IOCTL_h__
|
||||||
|
#define __SYS_IOCTL_h__
|
||||||
|
|
||||||
|
/* Functions */
|
||||||
|
|
||||||
|
int ioctl(
|
||||||
|
int fd,
|
||||||
|
int request,
|
||||||
|
...
|
||||||
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* end of include file */
|
||||||
25
c/src/exec/posix/include/sys/utime.h
Normal file
25
c/src/exec/posix/include/sys/utime.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __UTIME_h__
|
||||||
|
#define __UTIME_h__
|
||||||
|
|
||||||
|
/*
|
||||||
|
* POSIX 1003.1b 5.6.6 Set File Access and Modification Times
|
||||||
|
*/
|
||||||
|
|
||||||
|
struct utimbuf {
|
||||||
|
time_t actime; /* Access time */
|
||||||
|
time_t modtime; /* Modification time */
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Functions */
|
||||||
|
|
||||||
|
int utime(
|
||||||
|
const char *path,
|
||||||
|
const struct utimbuf *times
|
||||||
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* end of include file */
|
||||||
17
c/src/exec/posix/sys/ioctl.h
Normal file
17
c/src/exec/posix/sys/ioctl.h
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __SYS_IOCTL_h__
|
||||||
|
#define __SYS_IOCTL_h__
|
||||||
|
|
||||||
|
/* Functions */
|
||||||
|
|
||||||
|
int ioctl(
|
||||||
|
int fd,
|
||||||
|
int request,
|
||||||
|
...
|
||||||
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* end of include file */
|
||||||
25
c/src/exec/posix/sys/utime.h
Normal file
25
c/src/exec/posix/sys/utime.h
Normal file
@@ -0,0 +1,25 @@
|
|||||||
|
/*
|
||||||
|
* $Id$
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef __UTIME_h__
|
||||||
|
#define __UTIME_h__
|
||||||
|
|
||||||
|
/*
|
||||||
|
* POSIX 1003.1b 5.6.6 Set File Access and Modification Times
|
||||||
|
*/
|
||||||
|
|
||||||
|
struct utimbuf {
|
||||||
|
time_t actime; /* Access time */
|
||||||
|
time_t modtime; /* Modification time */
|
||||||
|
};
|
||||||
|
|
||||||
|
/* Functions */
|
||||||
|
|
||||||
|
int utime(
|
||||||
|
const char *path,
|
||||||
|
const struct utimbuf *times
|
||||||
|
);
|
||||||
|
|
||||||
|
#endif
|
||||||
|
/* end of include file */
|
||||||
Reference in New Issue
Block a user