What does the following block do?:
open("/my/file") = 5
read(5, "file content")
Answer
These system calls are reading the file /my/file and 5 is the file descriptor number.
open("/my/file") = 5
read(5, "file content")
These system calls are reading the file /my/file and 5 is the file descriptor number.