diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-21 14:36:00 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2007-05-21 14:36:00 +0000 |
commit | d7d1d7f99d0cd4549f676cf9e450124c9c4170cb (patch) | |
tree | 2df0051fc3a31dd16df7bc58a66fd5772d6f13e6 /nuttx/include/sys | |
parent | d7ab605d158cdbd32907d87707e356414e4727dc (diff) | |
download | px4-nuttx-d7d1d7f99d0cd4549f676cf9e450124c9c4170cb.tar.gz px4-nuttx-d7d1d7f99d0cd4549f676cf9e450124c9c4170cb.tar.bz2 px4-nuttx-d7d1d7f99d0cd4549f676cf9e450124c9c4170cb.zip |
Add unlink(), mkdir(), rmdir(), and rename()
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@246 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/include/sys')
-rw-r--r-- | nuttx/include/sys/stat.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/nuttx/include/sys/stat.h b/nuttx/include/sys/stat.h index 12e78313c..0d686e10f 100644 --- a/nuttx/include/sys/stat.h +++ b/nuttx/include/sys/stat.h @@ -46,4 +46,23 @@ * Type Definitions ************************************************************/ +/************************************************************ + * Global Function Prototypes + ************************************************************/ + +#undef EXTERN +#if defined(__cplusplus) +#define EXTERN extern "C" +extern "C" { +#else +#define EXTERN extern +#endif + +EXTERN int mkdir(const char *pathname, mode_t mode); + +#undef EXTERN +#if defined(__cplusplus) +} +#endif + #endif /* __SYS_STAT_H */ |