Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/include add estrto{i,u} (Kamil Rytarowski)



details:   https://anonhg.NetBSD.org/src/rev/8a8c13a24c2f
branches:  trunk
changeset: 335647:8a8c13a24c2f
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jan 18 18:10:01 2015 +0000

description:
add estrto{i,u} (Kamil Rytarowski)

diffstat:

 include/util.h |  4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 08430d51b7b8 -r 8a8c13a24c2f include/util.h
--- a/include/util.h    Sun Jan 18 18:09:36 2015 +0000
+++ b/include/util.h    Sun Jan 18 18:10:01 2015 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: util.h,v 1.65 2013/05/02 07:17:35 matt Exp $   */
+/*     $NetBSD: util.h,v 1.66 2015/01/18 18:10:01 christos Exp $       */
 
 /*-
  * Copyright (c) 1995
@@ -147,6 +147,8 @@
 size_t                 estrlcat(char *, const char *, size_t);
 char           *estrdup(const char *);
 char           *estrndup(const char *, size_t);
+intmax_t       estrtoi(const char *, int, intmax_t, intmax_t);
+uintmax_t      estrtou(const char *, int, uintmax_t, uintmax_t);
 void           *ecalloc(size_t, size_t);
 void           *emalloc(size_t);
 void           *erealloc(void *, size_t);



Home | Main Index | Thread Index | Old Index