English
Language : 

CC78K0S Datasheet, PDF (231/520 Pages) NEC – C Compiler Ver.1.30 or Later 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
ends ... Break value to 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.
User’s Manual U14872EJ1V0UM
231