diff options
| author | christos <christos@NetBSD.org> | 2005-07-28 16:26:53 +0000 |
|---|---|---|
| committer | christos <christos@NetBSD.org> | 2005-07-28 16:26:53 +0000 |
| commit | b43b0b010f7251a021ab08026a26714825aca99f (patch) | |
| tree | 12a60dbc24c03de274c062808b5f8196e64fdedc /include/string.h | |
| parent | 1cf13731b144d86a3523a0fc3aaffc5c6f9e563d (diff) | |
Add strerror_r.
Diffstat (limited to 'include/string.h')
| -rw-r--r-- | include/string.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/string.h b/include/string.h index 11a63ed8b4a..9de8200d301 100644 --- a/include/string.h +++ b/include/string.h @@ -1,4 +1,4 @@ -/* $NetBSD: string.h,v 1.29 2005/03/13 15:09:50 perry Exp $ */ +/* $NetBSD: string.h,v 1.30 2005/07/28 16:26:53 christos Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -70,6 +70,7 @@ char *strtok(char * __restrict, const char * __restrict); #if (_POSIX_C_SOURCE - 0 >= 199506L) || (_XOPEN_SOURCE - 0 >= 500) || \ defined(_REENTRANT) || defined(_NETBSD_SOURCE) char *strtok_r(char *, const char *, char **); +int strerror_r(int, char *, size_t); #endif /* _POSIX_C_SOURCE >= 199506 || XOPEN_SOURCE >= 500 || ... */ size_t strxfrm(char * __restrict, const char * __restrict, size_t); |
