purge remaining gpl code from clib, and make clib build again
[tangerine.git] / compiler / clib / stcu_d.c
blob268bbeaf6d33d846ed8b9a158ef29654ce67cee2
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 SAS C function stcu_d().
6 */
8 #include <stdio.h>
10 /*****************************************************************************
12 NAME */
13 #include <string.h>
15 int stcu_d (
17 /* SYNOPSIS */
18 char * out,
19 unsigned uivalue)
21 /* FUNCTION
22 Convert an unsigned integer to a decimal 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, "%u", uivalue);
45 } /* stcu_d */