Week 3 - May 20-24

Week 3 lecture recording here.

Introduction

We will look at programming concepts and file I/O. In Linux, everything is a file, so it is important to know how to use them. We will also look at IOCTLs which are user-space calls into the Linux kernel. We also will look at the gdb debugger.

Videos

File I/OLinux file input/output
open() vs fopen()
IOCTLsLinux IOCTL's
Debugginggdb And How To Debug C And C++ Code

Quiz

Lecture Material

Labs

Assignment(s)

None.

Sample Code

File I/O

IOCTLs

GDB - a Linux debugger