What’s the quickest way to move to the end of a file?

What will be an ideal response?


While the file is open, you could use the lseek () system call to move to the end of the file. If the
reason you’re moving to the end is to add information to the file, you can also open it with the
O_APPEND flag to the open () system call.

Computer Science & Information Technology

You might also like to view...

Give a complete description of an algorithm for a parallel validation, optimistic concurrency control.

What will be an ideal response?

Computer Science & Information Technology

A form’s __________ event is triggered when the user switches to the form from another form or another application.

a. form load b. activated c. got focus d. click

Computer Science & Information Technology

In Excel, if there are numbers both above and below a cell and you attempt to use the AutoSum function, the function will add up the numbers to the left as its default

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following will best help in reducing static electricity and increase equipment reliability?

A. High humidity and low temperature B. Humidity and temperature at levels comfortable for humans C. Low humidity and high temperature D. Low humidity and low temperature

Computer Science & Information Technology