* @brief PlibC header
* @attention This file is usually not installed under Unix,
* so ship it with your application
- * @version $Revision: 44 $
+ * @version $Revision: 45 $
*/
#ifndef _PLIBC_H_
int _win_chmod(const char *filename, int pmode);
char *realpath(const char *file_name, char *resolved_name);
long _win_random(void);
-void _win_srandom(unsigned seed);
+void _win_srandom(unsigned int seed);
int _win_remove(const char *path);
int _win_rename(const char *oldname, const char *newname);
int _win_stat(const char *path, struct stat *buffer);
#if !HAVE_STRNLEN
size_t strnlen (const char *str, size_t maxlen);
#endif
+char *stpcpy(char *dest, const char *src);
#define strcasecmp(a, b) stricmp(a, b)
#define strncasecmp(a, b, c) strnicmp(a, b, c)
#define CHMOD(f, p) _win_chmod(f, p)
#define PIPE(h) _win_pipe(h)
#define RANDOM() _win_random()
- #define SRANDOM(s) _win_srandom()
+ #define SRANDOM(s) _win_srandom(s)
#define REMOVE(p) _win_remove(p)
#define RENAME(o, n) _win_rename(o, n)
#define STAT(p, b) _win_stat(p, b)