From mboxrd@z Thu Jan 1 00:00:00 1970 From: dave@horsfall.org (Dave Horsfall) Date: Wed, 27 Sep 2017 10:58:59 +1000 (EST) Subject: [TUHS] UNIX of choice these days? In-Reply-To: References: <1506341239.18395.for-standards-violators@oclsc.org> <20170925151827.GP28606@mcvoy.com> <646c7556-8300-d4ab-47fd-633352ea18e7@case.edu> <20170926145326.GX28606@mcvoy.com> Message-ID: On Tue, 26 Sep 2017, Grant Taylor wrote: >> Exactly; why 255 of all things? > > High order of 8 bits? (Assuming low order starts at 0.) Yeah, but still doesn't answer the question, application-wise. I'm gonna guess (without digging through the source) that it's a "dup2(0, 255)*" or something, to "save" a copy of stdin/out/err for some obscure reason. [*] OK, "getdtablesize() - 1" instead of 255... -- Dave Horsfall DTM (VK2KFU) "Those who don't understand security will suffer."