tags:
- school
- cs253
- computer-science
- programming
- c
- notes
source: https://man7.org/linux/man-pages/man3/fscanf.3.html
created: 2024-10-28
What are the functions in the scanf()
family of functions?
The functions in the scanf()
family of functions are:
scanf()
.fscanf()
.vscanf()
.vfscanf()
.Which library provides the scanf()
family of functions?
The library that provides the scanf()
family of functions is the C standard library.
Which header provides the scanf()
family of functions?
The header that provides the scanf()
family of functions is stdio.h
.
What is the prototype of the scanf()
function?
The prototype of the scanf()
function is:
int scanf(const char *restrict format, ...);
What is the prototype of the fscanf()
function?
The prototype of the fscanf()
function is:
int fscanf(FILE *restrict stream, const char *restrict format, ...);
Which header provides the vscanf()
and vfscanf()
functions?
The header that provides the vscanf()
and vfscanf()
functions is stdarg.h
.
...