Name the header file to which the following belong: (i) gets( )
(ii) open( )
Answers
Answered by
0
Answer:
gets is a function in the C standard library, declared in the header file stdio.h , that reads a line from the standard input and stores it in a buffer provided by the
The open and creat functions are declared in the header file fcntl. h , while close is declared in unistd. h .When both O_CREAT and O_DIRECTORY are specified in flags and the file specified by pathname does not exist, open() will create a regular file (i.e., O_DIRECTORY is ignored).
Similar questions