I am reading Operating Systems by William Stallings 6th edition and I came across this text,
Program execution:
A number of steps need to be performed to execute a program. Instructions and data must be loaded into main memory, I/O devices and files must be initialized, and other resources.
Now I am unable to understand how I/O devices and files are initialized on program execution? I assume it meant to start the I/O resources but what about the files? Please guide. Thanks
Asked By : Fahad Uddin
Answered By : Alejandro Sazo
A initialized file means that you have comprobe that exist, or open it in some mode (write, read, r&w, etc) and create it if is not already.
Best Answer from StackOverflow
Question Source : http://cs.stackexchange.com/questions/11990
0 comments:
Post a Comment
Let us know your responses and feedback