clean up bcm bases and add primecell peripheral defines
[AROS.git] / compiler / clib / stcl_o.c
blob28c67eef1f29fa663870918bef967c4b7300a373
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 SAS/C function stcl_o().
6 */
8 #include <stdio.h>
10 /*****************************************************************************
12 NAME */
13 #include <string.h>
15 int stcl_o (
17 /* SYNOPSIS */
18 char * out,
19 long lvalue)
21 /* FUNCTION
22 Convert an long integer to an octal string
24 INPUTS
25 out - Result will be put into this string
26 uivalue - the value to convert
28 RESULT
29 The number of characters written into the string
31 NOTES
32 SAS/C specific
34 EXAMPLE
36 BUGS
38 SEE ALSO
40 INTERNALS
42 ******************************************************************************/
44 return sprintf(out, "%lo", lvalue);
45 } /* stcl_o */