![]() The return value from read is going to be the number of bytes read or minus one on error. In terms of reading file content, once you've got that file descriptor from open, you can use it with read, very similar to the way you'd use the filehandle that you use with F read and buffered IO today. We're also going to get an introduction to a really useful tool that we're going to use throughout the semester called strace. ![]() We're going to learn how umask influences file permissions that we've talked about that Linux has and uses today. The learning objectives here, we're going to discuss reading and writing files. ![]() In this video, we're going to continue on the theme of Linux file IO, but move past open and talk about actually reading and writing files.
0 Comments
Leave a Reply. |