1 /* $NetBSD: sane_strtol.h,v 1.2 2022/10/08 16:12:50 christos Exp $ */ 2 3 /*++ 4 /* NAME 5 /* sane_strtol 3h 6 /* SUMMARY 7 /* strtol() with mandatory errno reset 8 /* SYNOPSIS 9 /* #include <sane_strtol.h> 10 /* DESCRIPTION 11 /* .nf 12 13 /* 14 * External API. 15 */ 16 extern long sane_strtol(const char *start, char **end, int); 17 extern unsigned long sane_strtoul(const char *start, char **end, int); 18 19 /* LICENSE 20 /* .ad 21 /* .fi 22 /* The Secure Mailer license must be distributed with this software. 23 /* AUTHOR(S) 24 /* Wietse Venema 25 /* Google, Inc. 26 /* 111 8th Avenue 27 /* New York, NY 10011, USA 28 /*--*/ 29