r6831@lvps87-230-33-50: verhaegs | 2008-02-03 14:08:57 +0100
[tangerine.git] / compiler / clib / stcl_o.c
blob9de2eb580380ed412c8dc63d73c6ec14928ac910
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 */