diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-06 09:11:47 +0100 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2013-11-11 10:08:05 +0100 |
commit | b84c04ecfa2cb5502d1c35e3729879eeec720b3c (patch) | |
tree | 17b74ab25d78f3a9a6c0c5762162c478c3843888 /rtemsbsd/include/machine/rtems-bsd-user-space.h | |
parent | Add and use <machine/rtems-bsd-user-space.h> (diff) | |
download | rtems-libbsd-b84c04ecfa2cb5502d1c35e3729879eeec720b3c.tar.bz2 |
Move content to <machine/rtems-bsd-user-space.h>
Diffstat (limited to 'rtemsbsd/include/machine/rtems-bsd-user-space.h')
-rw-r--r-- | rtemsbsd/include/machine/rtems-bsd-user-space.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/rtemsbsd/include/machine/rtems-bsd-user-space.h b/rtemsbsd/include/machine/rtems-bsd-user-space.h index a79d4528..dddfa862 100644 --- a/rtemsbsd/include/machine/rtems-bsd-user-space.h +++ b/rtemsbsd/include/machine/rtems-bsd-user-space.h @@ -40,4 +40,28 @@ #ifndef _RTEMS_BSD_MACHINE_RTEMS_BSD_USER_SPACE_H_ #define _RTEMS_BSD_MACHINE_RTEMS_BSD_USER_SPACE_H_ +#include <sys/cdefs.h> + +#include <stdio.h> + +/* FIXME: Add lock capabilities to RTEMS file system */ +#define O_EXLOCK 0 +#define O_SHLOCK 0 + +/* FIXME: Add no symlink follow capabilities to RTEMS file system */ +#define O_NOFOLLOW 0 + +#define _PATH_VARRUN "/var/run" + +__BEGIN_DECLS + +/* FIXME: Add to Newlib */ +long long strtonum(const char *numstr, long long minval, long long maxval, + const char **errstrp); + +/* FIXME: Add to Newlib */ +char *fgetln(FILE *fp, size_t *lenp); + +__END_DECLS + #endif /* _RTEMS_BSD_MACHINE_RTEMS_BSD_USER_SPACE_H_ */ |