USB device can now be unbind
[AROS.git] / compiler / stdc / stcu_d.c
blob563b61f7e06cf49b8702845e3db02dcd657fa8ee
1 /*
2 Copyright © 1995-2012, 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 */