MSL C Reference
1 Introduction
Organization of Files
ANSI C Standard
The ANSI C Library and Apple Macintosh
Console I/O and the Macintosh
Console I/O and Windows
POSIX Functionality
Compatibility

2 alloca.h

Overview of alloca.h
alloca

3 assert.h

Overview of assert.h
assert

4 console.h

Overview of console.h
ccommand
clrscr
getch
InstallConsole
kbhit
ReadCharsFromConsole
RemoveConsole
__ttyname
WriteCharsToConsole

5 crtl.h

Overview of crtl.h
Argc
Argv
_DllTerminate
environ
_HandleTable
_CRTStartup
_RunInit
_SetupArgs

6 ctype.h

Overview of ctype.h
Character testing and case conversion
Character Sets Supported
isalnum
isalpha
iscntrl
isdigit
isgraph
islower
isprint
ispunct
isspace
isupper
isxdigit
tolower
toupper
iswblank

7 div_t.h

Overview of div_t.h
div_t
ldiv_t
lldiv_t

8 errno.h

Overview of errno.h
errno

9 extras.h

Overview of extras.h
_gvct
_heapmin
_itoa
_itow
_ltoa
_makepath
_splitpath
_strdate
_strdup
_stricmp
_strlwr
_strnicmp
_strnset
_strrev
_strset
_strspnp
_strupr
_ultoa
_wcsdup
_wcsicmp
_wcslwr
_wcsnicmp
_wcsnset
_wcsrev
_wcsset
_wcsspnp
_wcsupr
_wstrrev
_wtoi

10 fcntl.h

Overview of fcntl.h
fcntl.h and UNIX Compatibility
creat
fcntl
open
umask

11 float.h

Overview of float.h
Floating point number characteristics

12 FSp_fopen.h

Overview of FSp_fopen.h
FSp_fopen

13 io.h

Overview of io.h
_chdir
_chdrive
_fileno
_get_osfhandle
_getcwd
_getdrive
GetHandle
_heapmin
_isatty
_makepath
_open_osfhandle
_searchenv

14 limits.h

Overview of limits.h
Integral type limits

15 locale.h

Overview of locale.h
Locale specification
localeconv
setlocale

16 malloc.h

Overview of malloc.h
alloca
Non Standard <malloc.h> Functions

17 math.h

Overview of math.h
Floating point mathematics
NaN Not a Number
Floating point error testing.
Inlined Intrinsics Option
Floating Point Classification Macros
Enumerated Constants
fpclassify
isfinite
isnan
isnormal
signbit
Floating Point Math Facilities
acos
acosf
acosl
asin
asinf
asinl
atan
atanf
atanl
atan2
atan2f
atan2l
ceil
ceilf
ceill
cos
cosf
cosl
cosh
coshf
coshl
exp
expf
expl
fabs
fabsf
fabsl
floor
floorf
floorl
fmod
fmodf
fmodl
frexp
frexpf
frexpl
isgreater
isgreaterless
isless
islessequal
isunordered
ldexp
ldexpf
ldexpl
log
logf
logl
log10
log10f
log10l
modf
modff
modfl
pow
powf
powl
sin
sinf
sinl
sinh
sinhf
sinhl
sqrt
sqrtf
sqrtl
tan
tanf
tanl
tanh
tanhf
tanhl
HUGE_VAL
C9X Implementations
acosh
asinh
atanh
copysign
erf
erfc
exp2
expm1
fdim
fmax
fmin
gamma
hypot
lgamma
log1p
log2
logb
nan
nearbyint
nextafter
remainder
remquo
rint
rinttol
round
roundtol
scalb
trunc

18 path2fss.h

Overview of path2fss.h
path2fss

19 Process.h

Overview of Process.h
_beginthreadex
_endthreadex

20 setjmp.h

Overview of setjmp.h
Non-local jumps and exception handling
longjmp
setjmp

21 signal.h

Overview of signal.h
Signal handling
signal
raise
Be Specific Signal Handling
sigaction
sigprocmask
sigpending
sigsuspend
kill
send_signal
struct vregs

22 SIOUX.h

Overview of SIOUX
Using SIOUX
SIOUX for Macintosh
Creating a Project with SIOUX
Customizing SIOUX
Changing the size and location
Using SIOUX windows in your own application
SIOUXclrscr
SIOUXHandleOneEvent
SIOUXSetTitle

23 stat.h

Overview of stat.h
stat.h and UNIX Compatibility
Stat Structure and Definitions
fstat
mkdir
stat

24 stdarg.h

Overview of stdarg.h
Variable arguments for functions
va_arg
va_end
va_start

25 stddef.h

Overview of stddef.h
Commonly used definitions
Mbstate_t
NULL
offsetof
ptrdiff_t
size_t
wchar_t

26 stdio.h

Overview of stdio.h
Standard input/output
Streams
File position indicator
End-of-file and errors
Wide Character and Byte Character Stream Orientation
Stream Orientation and Standard Input/Output
clearerr
fclose
fdopen
feof
ferror
fflush
fgetc
fgetpos
fgets
fopen
fprintf
fputc
fputs
fread
freopen
fscanf
fseek
fsetpos
ftell
fwide
fwrite
getc
getchar
gets
perror
printf
putc
putchar
puts
remove
rename
rewind
scanf
setbuf
setvbuf
snprintf
sprintf
sscanf
tmpfile
tmpnam
ungetc
vfprintf
vfscanf
vprintf
vsnprintf
vsprintf
vsscanf

27 stdlib.h

Overview of stdlib.h
abort
abs
atexit
atof
atoi
atol
bsearch
calloc
div
exit
free
getenv
labs
ldiv
llabs
lldiv
malloc
mblen
mbstowcs
mbtowc
_putenv
qsort
rand
realloc
srand
strtod
strtol
strtold
strtoll
strtoul
strtoull
system
vec_calloc
vec_free
vec_malloc
vec_realloc
wcstombs
wctomb
Non Standard <stdlib.h> Functions

28 string.h

Overview of string.h
memchr
memcmp
memcpy
memmove
memset
strcasecmp
strcat
strchr
strcmp
strcoll
strcpy
strcspn
strerror
strlen
strncasecmp
strncat
strncmp
strncpy
strpbrk
strrchr
strspn
strstr
strtok
strxfrm
Non Standard <string.h> Functions

29 time.h

Overview of time.h
Date and time
struct tm
tzname
asctime
clock
ctime
difftime
gmtime
localtime
mktime
strftime
time
tzset
Non Standard <time.h> Functions

30 unistd.h

Overview of unistd.h
unistd.h and UNIX compatibility
chdir
close
cuserid
exec
getcwd
getlogin
getpid
isatty
lseek
read
rmdir
sleep
ttyname
unlink
write

31 unix.h

Overview of unix.h
unix.h and UNIX Compatibility
Globals
_fcreator
_ftype
fdopen
fileno
tell

32 utime.h

Overview of utime.h
utime.h and UNIX Compatibility
utime
utimes

33 utsname.h

Overview of utsname.h
utsname.h and UNIX Compatibility
uname

34 wchar.h

Overview of wchar.h
Wide Character and Byte Character Stream Orientation
Stream Orientation and Standard Input/Output
Definitions
fgetwc
fgetws
fwprintf
fputwc
fputws
fwscanf
getwc
getwchar
putwc
putwchar
swprintf
swscanf
towctrans
vfwscanf
vswscanf
vwscanf
vfwprintf
vswprintf
vwprintf
wasctime
watof
wcscat
wcschr
wcscmp
wcscoll
wcscspn
wcscpy
wcslen
wcsncat
wcsncmp
wcsncpy
wcspbrk
wcsspn
wcsrchr
wcsstr
wcstod
wcstok
wcsftime
wcsxfrm
wctime
wctrans
wmemchr
wmemcmp
wmemcpy
wmemmove
wmemset
wprintf
wscanf
Non Standard <wchar.h> Functions

35 wctype.h

Overview of wctype.h
iswalnum
iswalpha
iswcntrl
iswdigit
iswgraph
iswlower
iswprint
iswpunct
iswspace
iswupper
iswxdigit
towlower
towupper

36 WinSIOUX.h

Overview of WinSIOUX
Using WinSIOUX
WinSIOUX for Windows
Creating a Project with WinSIOUX
Customizing WinSIOUX
clrscr

37 MSL Flags

Overview of the MSL Switches, Flags and Defines
__ANSI_OVERLOAD__
_MSL_IMP_EXP
_MSL_INTEGRAL_MATH
_MSL_MALLOC_0_RETURNS_NON_NULL
_MSL_OS_DIRECT_MALLOC
_MSL_PRO4_MALLOC
_POSIX
__SET_ERRNO__

Index



Visit the Metrowerks website at: http://www.metrowerks.com
For assistance contact Metrowerks Technical Support at: cw_support@metrowerks.com
Copyright © 2000, Metrowerks Corp. All rights reserved.

Last updated: August 16, 2000