登录
首页 嵌入式系统 嵌入式系统
回帖 发帖
正文

主题:ANSI C Fun Lib Reference

点击:1762 回复:1

function tree, ansi c library
class/panel name
function name
character handling
character testing
alphanumeric char test
isalnum
alphabetic char test
isalpha
control char test
iscntrl
decimal digit char test
isdigit
hex digit char test
isxdigit
lowercase char test
islower
uppercase char test
isupper
print char test (exclude space)
isgraph
print char test (include space)
isprint
punctuation char test
ispunct
white-space char test
isspace
character case mapping
convert to lowercase
tolower
convert to uppercase
toupper
date and time
time operations
get cur calendar time
time
get processor time used
clock
compute time difference
difftime
time conversion
local to calendar time
mktime
calendar to local time
localtime
calendar to utc time
gmtime
time formatting
time struct to string
asctime
calendar time to string
ctime
format time string
strftime
localization
set current locale
setlocale
get current locale
localeconv
mathematics
trigonometric functions
cosine
cos
sine
sin
tangent
tan
arc cosine
acos
arc sine
asin
arc tangent
atan
arc tangent of 2 values
atan2
hyperbolic functions
hyperbolic cosine
cosh
hyperbolic sine
sinh
hyperbolic tangent
tanh
exp and log functions
exponential
exp
mantissa extract exp
frexp
mantissa combine exp
ldexp
natural logarithm
log
base-10 logarithm
log10
power functions
raise to power
pow
square root
sqrt
other math functions
absolute value (double)
fabs
integral ceiling
ceil
integral floor
floor
remainder of double division
fmod
partition double value
modf
nonlocal jumping
save current environment
setjmp
restore environment
longjmp
signal handling
set signal handler
signal
raise signal
raise
input/output
open/close
open file
fopen
redirect i/o stream
freopen
make file ptr from file handle
fdopen
close file
fclose
read/write/flush
read data from file
fread
write data to file
fwrite
flush i/o buffer
fflush
line input/output
read line from standard input
gets
read line from input stream
fgets
write line to standard output
puts
write line to output stream
fputs
character input/output
read char from standard input
getchar
read char from input stream
fgetc
read char (macro)
getc
write char to standard output
putchar
write char to output stream
fputc
write char (macro)
putc
push char back into stream
ungetc
formatted input/output
scan from standard input
scanf
scan from input stream
fscanf
scan from string
sscanf
scan from standard input (argument list)
vscanf
scan from input stream (argument list)
vfscanf
scan from string (argument list)
vsscanf
write to standard output
printf
write to output stream
fprintf
write to string
sprintf
bounded write to string
snprintf
write to stdout (argument list)
vprintf
write to stream (argument list)
vfprintf
write to string (argument list)
vsprintf
bounded write to string (argument list)
vsnprintf
buffer control
set buffering
setvbuf
basic set buffering
setbuf
file positioning
get file position (return long)
ftell
set file position (long input)
fseek
get file position
fgetpos
set file position
fsetpos
reset file pointer
rewind
file system operations
delete file
remove
rename file
rename
create temporary file
tmpfile
generate file name
tmpnam
error handling
clear stream errors
clearerr
end-of-file error test
feof
error indicator test
ferror
print error message
perror
general utilities
string to arithmetic expression
string to long
int
strtol
string to long long
int
strtoll
string to unsigned long
int
strtoul
string to unsigned long long
int
strtoull
string to double
strtod
basic string to
int
atoi
basic string to long
int
atol
basic string to long long
int
atoll
basic string to double
atof
random number generation
seed rand num generator
srand
generate random number
rand
memory management
allocate initialized mem
calloc
allocate uninit memory
malloc
reallocate memory
realloc
deallocate memory
free
allocate uninit memory on stack
alloca
searching and sorting
binary search
bsearch
quicksort
qsort
integer arithmetic
absolute value (
int
)
abs
absolute value (long
int
)
labs
absolute value (long long
int
)
llabs
division (
int
)
div
division (long
int
)
ldiv
division (long long
int
)
lldiv
multibyte character sets
get multibytechar len
mblen
multibyte to wide char
mbtowc
multibyte to wide string
mbstowcs
wide to multibyte char
wctomb
wide to multibyte string
wcstombs
get wide char string length
wcslen
program termination
abnormal termination
abort
normal termination
exit
register exit function
atexit
environment
get environment
getenv
put environment
_putenv
execute system command
system
string handling
byte operations
copy bytes (no overlap)
memcpy
copy bytes (overlap)
memmove
compare byte
memcmp
fill bytes
memset
search for character
memchr
string operations
get string length
strlen
copy string
strcpy
copy characters
strncpy
concatenate strings
strcat
concatenate strings
strncat
compare strings
strcmp
compare characters
strncmp
compare strings (no case)
stricmp
compare characters (no case)
strnicmp
string searching
find first occur of char
strchr
find last occur of char
strrchr
find char from set
strpbrk
find char from set (index)
strcspn
find char not in set (index)
strspn
find substring
strstr
collation functions
compare strings (lc_collate)
strcoll
copy string (lc_collate)
strxfrm
miscellaneous
break string into tokens
strtok
get error message
strerror
low-level io
open file
open
open file for sharing (windows)
sopen
close file
close
read data from file
read
write data to file
write
set file position
lseek
end of file test (windows)
eof
multibyte characters
code pages
get current code page
_getmbcp
character operations
get byte type
_ismbblead
get byte type from context
_mbsbtype
get previous character
_mbsdec
get next character
_mbsinc
string operations
get string length
_mbslen
compare strings
_mbscmp
compare characters
_mbsnbcmp
compare strings (no case)
_mbsicmp
compare characters (no case)
_mbsnbicmp
concatenate strings
_mbscat
concatenate characters
_mbsnbcat
copy string
_mbscpy
copy characters
_mbsnbcpy
string searching
find first occur of char
_mbschr
find last occur of char
_mbsrchr
find char from set
_mbspbrk
find char from set (index)
_mbscspn
find char note in set (index)
_mbsspn
find substring
_mbsstr
miscellaneous
break string into tokens
_mbstok
----------------------------------------------
此篇文章从博客转发
原文地址: Http://blog.gkong.com/more.asp?id=110476&Name=zjcsharp
10-02-22 00:03
基本看不懂
10-02-22 09:24

工控新闻

更多新闻资讯