Add endpointer and separator args to atoid()

This commit is contained in:
Todd C. Miller
2013-08-08 06:11:52 -06:00
parent 39cbfcd406
commit fe23e7c038
7 changed files with 44 additions and 20 deletions

View File

@@ -315,7 +315,7 @@ char *get_timestr(time_t, int);
int atobool(const char *str);
/* atoid.c */
int atoid(const char *str, const char **errstr);
int atoid(const char *str, const char *sep, char **endp, const char **errstr);
/* boottime.c */
int get_boottime(struct timeval *);