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