From d7d1d7f99d0cd4549f676cf9e450124c9c4170cb Mon Sep 17 00:00:00 2001 From: patacongo Date: Mon, 21 May 2007 14:36:00 +0000 Subject: Add unlink(), mkdir(), rmdir(), and rename() git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@246 42af7a65-404d-4744-a932-0658087f49c3 --- nuttx/include/sys/stat.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'nuttx/include/sys') 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 */ -- cgit v1.2.3