English
Language : 

CC78K4 Datasheet, PDF (214/523 Pages) NEC – CC78K4 Ver.2.30 or Later, C Compiler Language
CHAPTER 10 LIBRARY FUNCTIONS
5-17 strbrk
Utility Functions
FUNCTION
strbrk sets a break value.
HEADER
stdlib.h
FUNCTION PROTOTYPE
int strbrk (char *endds);
Function
strbrk
Arguments
endds ... Break value to be
set
Return Value
Normal ... 0
When a break value cannot be
changed ... –1
EXPLANATION
• Sets the value given by endds to the break value (the address following the address at the end of the area to
be allocated).
• When endds is out of the permissible range, the break value is not changed. ENOMEM(3) is set to errno and
–1 is returned.
214
User’s Manual U15556EJ1V0UM