arch/m68k-amiga: Define the gcc symbol 'start' instead of using .bss
[AROS.git] / compiler / clib / stcd_l.c
blob5011df48f6fbf3aa353f10b0ffabe386fbae933a
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 SAS C function stcd_l().
6 */
8 #include <stdio.h>
10 /*****************************************************************************
12 NAME */
13 #include <string.h>
15 int stcd_l (
17 /* SYNOPSIS */
18 const char * in,
19 long * lvalue)
21 /* FUNCTION
22 Convert decimal string to a long integer
24 INPUTS
25 in - The decimal 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 ******************************************************************************/
45 return sscanf(in, "%ld", lvalue);
47 } /* stcd_l */