[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r793 - GNUnet/src/include
From: |
durner |
Subject: |
[GNUnet-SVN] r793 - GNUnet/src/include |
Date: |
Thu, 19 May 2005 11:35:01 -0700 (PDT) |
Author: durner
Date: 2005-05-19 11:34:56 -0700 (Thu, 19 May 2005)
New Revision: 793
Modified:
GNUnet/src/include/plibc.h
Log:
new PlibC
Modified: GNUnet/src/include/plibc.h
===================================================================
--- GNUnet/src/include/plibc.h 2005-05-19 16:05:10 UTC (rev 792)
+++ GNUnet/src/include/plibc.h 2005-05-19 18:34:56 UTC (rev 793)
@@ -22,7 +22,7 @@
* @brief PlibC header
* @attention This file is usually not installed under Unix,
* so ship it with your application
- * @version $Revision: 1.15 $
+ * @version $Revision: 1.16 $
*/
#ifndef _PLIBC_H_
@@ -303,6 +303,11 @@
#define SetErrnoFromWinError(e) _SetErrnoFromWinError(e, __FILE__, __LINE__)
+/**
+ * @brief index() - same as strchr()
+ */
+#define index(s, c) strchr(s, c)
+
BOOL _plibc_CreateShortcut(const char *pszSrc, const char *pszDest);
BOOL _plibc_DereferenceShortcut(char *pszShortcut);
long QueryRegistry(HKEY hMainKey, char *pszKey, char *pszSubKey,
@@ -347,6 +352,7 @@
#endif
int _win_chdir(const char *path);
int _win_close(int fd);
+int _win_creat(const char *path, mode_t mode);
int _win_fstat(int handle, struct stat *buffer);
int _win_pipe(int *phandles);
int _win_rmdir(const char *path);
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r793 - GNUnet/src/include,
durner <=