compiler/clib: Rename IoErr2errno() to __arosc_ioerr2errno(); function is now defined...
[AROS.git] / compiler / clib / stco_l.c
blob6c745ad03133cb03095c62023d07d187f52e9d53
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 SAS C function stco_l().
6 */
8 #include <stdio.h>
10 /*****************************************************************************
12 NAME */
13 #include <string.h>
15 int stco_l (
17 /* SYNOPSIS */
18 const char * in,
19 long * lvalue)
21 /* FUNCTION
22 Convert octal string to a long integer
24 INPUTS
25 in - The octal string to be converted
26 lvalue - Pointer to long where the result is saved
28 RESULT
29 1 means success. 0 means failure.
31 NOTES
32 SAS C specific
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 ******************************************************************************/
44 return sscanf(in, "%lo", lvalue);
45 } /* stco_l */