Module Name:    src
Committed By:   christos
Date:           Fri Jan 16 18:35:59 UTC 2015

Modified Files:
        src/include: inttypes.h

Log Message:
strtoi and strtou additions


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/include/inttypes.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/inttypes.h
diff -u src/include/inttypes.h:1.10 src/include/inttypes.h:1.11
--- src/include/inttypes.h:1.10	Sat Apr 27 17:24:27 2013
+++ src/include/inttypes.h	Fri Jan 16 13:35:59 2015
@@ -1,4 +1,4 @@
-/*	$NetBSD: inttypes.h,v 1.10 2013/04/27 21:24:27 joerg Exp $	*/
+/*	$NetBSD: inttypes.h,v 1.11 2015/01/16 18:35:59 christos Exp $	*/
 
 /*-
  * Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -75,6 +75,21 @@ intmax_t	wcstoimax_l(const wchar_t * __r
 uintmax_t	wcstoumax_l(const wchar_t * __restrict,
 		    wchar_t ** __restrict, int, locale_t);
 #endif
+
+
+#if defined(_NETBSD_SOURCE)
+intmax_t	strtoi(const char * __restrict, char ** __restrict, int,
+	               intmax_t, intmax_t, int *);
+uintmax_t	strtou(const char * __restrict, char ** __restrict, int,
+	               uintmax_t, uintmax_t, int *);
+
+/* i18n variations */
+intmax_t	strtoi_l(const char * __restrict, char ** __restrict, int,
+	                 intmax_t, intmax_t, int *, locale_t);
+uintmax_t	strtou_l(const char * __restrict, char ** __restrict, int,
+	                 uintmax_t, uintmax_t, int *, locale_t);
+#endif /* defined(_NETBSD_SOURCE) */
+
 __END_DECLS
 
 #endif /* !_INTTYPES_H_ */

Reply via email to