Advanced Programming in the UNIX Environment: Week 02, Segment 1 - File Descriptors
Channel: cs631apue
Date: 03/09/2020

In this video segment, we'll run through a code example to determine the maximum number of file descriptors a unix process can have open. Sound simple enough, right? Let's see...

Slides for this lecture: https://stevens.netmeister.org/631/02-fds.pdf
Course website: https://stevens.netmeister.org/631/

00:00 Introduction
00:39 Unix Basics
02:28 How many files can we open?
03:39 getconf(1) and sysconf(3)
08:42 getconf(1) sources
11:06 openmax.c on macOS
12:09 openmax.c on Linux
13:32 Summary