Commit 3ff9d212 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(s_strtol): Removed the base argument.

parent 00336118
/*
* $Id: s-string.h,v 1.15 1999/05/24 09:38:25 ceder Exp $
* $Id: s-string.h,v 1.16 2002/08/10 19:57:35 ceder Exp $
* Copyright (C) 1990-1996, 1999 Lysator Academic Computer Association.
*
* This file is part of the LysKOM server.
......@@ -23,7 +23,7 @@
* Please mail bug reports to bug-lyskom@lysator.liu.se.
*/
/*
* $Id: s-string.h,v 1.15 1999/05/24 09:38:25 ceder Exp $
* $Id: s-string.h,v 1.16 2002/08/10 19:57:35 ceder Exp $
*
* s-string.h
* Our own string type. Definition of string type,
......@@ -428,17 +428,16 @@ s_strtok (const String source,
/*
* Convert the String STR to a long, using the base BASE.
* Convert the String STR to a long, using base ten.
* Leading blanks are skipped according to isblank() in <ctype.h>.
* The index of the first character that couldn't be used to form
* the number is returned in *FIRST_ILL_CHAR. Returns -1 in
* *first_ill_char if there was an error in the parameters.
* BASE may be in the range 2..36
* Leading signs are not allowed.
*/
extern long
s_strtol (const String str,
String_size * first_ill_char,
const int base );
String_size * first_ill_char);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment