|
INTERVIEW QUESTIONS
OPERATING SYSTEMS
UNIX PROGRAMMING
DETAILS
Question: Explain about fgets?
Answer: Fgets (buf, size, fp) fetches the next line of input from fp, up to and including a newline, into buf, and adds a terminating
|
|
|
Category |
Unix Programming Interview Questions & Answers -
Exam Mode /
Learning Mode
|
Rating |
(0.2) By 9574 users |
Added on |
9/16/2014 |
Views |
69542 |
Rate it! |
|
|
Question:
Explain about fgets?
Answer:
Fgets (buf, size, fp) fetches the next line of input from fp, up to and including a newline, into buf, and adds a terminating
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|
|
Related Questions |
View Answer |
|
Is the function call to exit at the end of vis necessary?
|
View Answer
|
|
Explain about @@@ lines?
|
View Answer
|
|
Explain about the rules used in overwrite to preserve the arguments to the users command?
|
View Answer
|
|
Explain about the shell variable IFS?
|
View Answer
|
|
Explain about kill command?
|
View Answer
|
|
Explain about the command overwrite?
|
View Answer
|
|
Explain about sort command?
|
View Answer
|
|
Explain about trap command
|
View Answer
|
|
Explain about exec?
|
View Answer
|
|
Explain about signal argument?
|
View Answer
|
|
How can a process detect if it's running in the background?
|
View Answer
|
|
How do I find the creation time of a file?
|
View Answer
|
|
How do I ring the terminal bell during a shell script?
|
View Answer
|
|
How do I find the creation time of a file?
|
View Answer
|
|
How do I construct a shell glob-pattern that matches all files except "." and ".." ?
|
View Answer
|
|
How do I tell inside .cshrc if I'm a login shell?
|
View Answer
|
|
How do I redirect stdout and stderr separately in csh?
|
View Answer
|
|
How do I {set an environment variable, change directory} inside a program or shell script and have that change affect my current shell?
|
View Answer
|
|
Why do I get [some strange error message] when I "rsh host command" ?
|
View Answer
|
|
How do I rename "*.foo" to "*.bar", or change file names to lowercase?
|
View Answer
|