beautypg.com

Standard functions, Miscellaneous – Zilog Z8F0130 User Manual

Page 454

background image

Appendix B. C Standard Library

UM013037-1212

430

Zilog Developer Studio II – Z8 Encore!
User Manual

Miscellaneous

Standard Functions

The following functions are standard functions:

size_t strspn(char *s1, char *s2);

Finds first substring from a given character
set in string.

char *strstr(char *s1, char *s2);

Finds first occurrence of a given string in
another string.

char *strtok(char *s1, char *s2);

Finds next token in string.

void *memset(void *s, int c, size_t
n);

Uses a given character to initialize a specified
number of bytes in the buffer.

size_t strlen(char *s);

Finds length of string.

abort

abs

acos

asin

atan

atan2

atof

atoi

atol

bsearch

calloc

ceil

cos

cosh

div

exp

fabs

floor

fmod

free

frexp

getchar

gets

isalnum

isalpha

iscntrl

isdigit

isgraph

islower

isprint

ispunct

isspace

isupper

isxdigit

labs

ldexp

ldiv

log

log10

longjmp

malloc

memchr

memcmp

memcpy

memmove

memset

modf

pow

printf

putchar

puts

qsort

rand

realloc

scanf

setjmp

sin

sinh

sprintf

sqrt

srand

sscanf

strcat

strchr

strcmp

strcpy

strcspn

strlen

strncat

strncmp

strncpy

strpbrk

strrchr

strspn

strstr

strtod

strtok

strtol

tan

tanh

tolower

toupper

va_arg

va_end

va_start

vprintf

vsprintf