summaryrefslogtreecommitdiffstats
path: root/src/util/sane_strtol.h
blob: ac0831636a4bde29e2b495823649dd62de5d7a4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*++
/* NAME
/*	sane_strtol 3h
/* SUMMARY
/*	strtol() with mandatory errno reset
/* SYNOPSIS
/*	#include <sane_strtol.h>
/* DESCRIPTION
/* .nf

 /*
  * External API.
  */
extern long sane_strtol(const char *start, char **end, int);
extern unsigned long sane_strtoul(const char *start, char **end, int);

/* LICENSE
/* .ad
/* .fi
/*	The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/*	Wietse Venema
/*	Google, Inc.
/*	111 8th Avenue
/*	New York, NY 10011, USA
/*--*/