Browse Source

Add wcstoimax(3) and wcstoumax(3).

ok miod@
OPENBSD_4_5
kettenis 16 years ago
parent
commit
2bf163391d
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      src/include/inttypes.h

+ 9
- 1
src/include/inttypes.h View File

@ -1,4 +1,4 @@
/* $OpenBSD: inttypes.h,v 1.9 2006/01/15 00:47:51 millert Exp $ */
/* $OpenBSD: inttypes.h,v 1.10 2009/01/13 18:13:51 kettenis Exp $ */
/*
* Copyright (c) 1997, 2005 Todd C. Miller <Todd.Miller@courtesan.com>
@ -21,6 +21,10 @@
#include <sys/stdint.h>
#ifdef __cplusplus
#define __wchar_t wchar_t
#endif
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS)
/*
* 7.8.1 Macros for format specifiers
@ -252,6 +256,10 @@ intmax_t imaxabs(intmax_t);
imaxdiv_t imaxdiv(intmax_t, intmax_t);
intmax_t strtoimax(const char *, char **, int);
uintmax_t strtoumax(const char *, char **, int);
intmax_t wcstoimax(const __wchar_t * __restrict,
__wchar_t ** __restrict, int);
uintmax_t wcstoumax(const __wchar_t * __restrict,
__wchar_t ** __restrict, int);
__END_DECLS
#endif /* _INTTYPES_H_ */

Loading…
Cancel
Save