-

Changes

Jump to: navigation, search

Standard Library Functions

364 bytes added, 11:42, 14 December 2017
STRING HANDLING
;[[Functions_HI-TECH_C_FOPEN|fopen(name, mode)]] :Open file for I/O
;[[Functions_HI-TECH_C_FREOPEN|freopen(name, mode, stream)]] :Re-open existing stream
;[[Functions_HI-TECH_C_FDOPEN|fdopen(fd, mode)]] :Associate a stream with a file descriptor[WikiEditor:This item is not described on original document] 
;[[Functions_HI-TECH_C_FCLOSE|fclose(stream)]] :Close open file
;[[Functions_HI-TECH_C_FFLUSH|fflush(stream)]] :Flush buffered data
;[[Functions_HI-TECH_C_ATOL|atol(s)]] :Convert ASCII decimal to long integer
;[[Functions_HI-TECH_C_ATOF|atof(s)]] :Convert ASCII decimal to float
;[[Functions_HI-TECH_C_XTOI|xtoi(s)]] :Convert ASCII hexadecimal to integer[WikiEditor:This item is not described on original document] 
;[[Functions_HI-TECH_C_MEMCHR|memchr(s, c, n)]] :Find char in memory block
;[[Functions_HI-TECH_C_MEMCMP|memcmp(s1, s2, n)]] :Compare n bytes of memory
;[[Functions_HI-TECH_C_STRCPY|strcpy(s1, s2)]] :Copy s2 to s1
;[[Functions_HI-TECH_C_STRNCPY|strncpy(s1, s2, n)]] :Copy at most n bytes of s2
;[[Functions_HI-TECH_C_STRERROR|strerror(errnum)]] :Map errnum to an error message string[WikiEditor:This item is not described on original document] 
;[[Functions_HI-TECH_C_STRLEN|strlen(s)]] :Length of string
;[[Functions_HI-TECH_C_STRCHR|strchr(s, c)]] :Find char in string
;[[Functions_HI-TECH_C_STRRCHR|strrchr(s, c)]] :Find rightmost char in string
;[[Functions_HI-TECH_C_STRSPN|strspn(s1, s2)]] :Length of s1 composed of chars from s2[WikiEditor:This item is not described on original document] ;[[Functions_HI-TECH_C_STRCSPN|strcspn(s1, s2)]] :Length of s2 composed of chars not from s2;[[Functions_HI-TECH_C_STRSTR|strstr(s1, s2)WikiEditor:This item is not described on original document]] :Locate the first occurence of s2 in s1
;[[Functions_HI-TECH_C_STRSTR|strstr(s1, s2)]] :Locate the first occurence of s2 in s1[WikiEditor:This item is not described on original document]
== LOW LEVEL I/O ==

Navigation menu