identify.library SDK v13 has library v37. Makes it compatible with native m68k programs.
[AROS.git] / rom / utility / tolower.c
blobf4f3857eb6bb0ee90bbfe1430b5de31354861968
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc:
6 Lang: english
7 */
8 #include <exec/types.h>
9 #include <aros/libcall.h>
10 #include "intern.h"
12 /*****************************************************************************
14 NAME */
15 #include <proto/utility.h>
17 AROS_LH1I(UBYTE, ToLower,
19 /* SYNOPSIS */
20 AROS_LHA(ULONG, character, D0),
22 /* LOCATION */
23 struct UtilityBase *, UtilityBase, 30, Utility)
25 /* FUNCTION
26 Convert a character to lower case.
28 INPUTS
29 character - The character to convert.
31 RESULT
32 Equivalent lower case character.
34 NOTES
36 EXAMPLE
38 BUGS
40 SEE ALSO
42 INTERNALS
44 HISTORY
46 *****************************************************************************/
48 AROS_LIBFUNC_INIT
50 return
52 (character >= 'A' && character <= 'Z')
53 || (character >= 0xC0
54 && character <= 0xDE
55 && character != 0xD7)
56 ? character + 0x20
57 : character
60 AROS_LIBFUNC_EXIT
61 } /* ToLower */