[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Old and well-known

Old and well-known

Posted Aug 27, 2009 14:18 UTC (Thu) by dwheeler (guest, #1216)
In reply to: O_NOSTD by pr1268
Parent article: In brief

The issue this patch is trying to address is noted in "Secure Programming for Linux and Unix HOWTO", section 5.3 (File Descriptors): "[do] not assume that standard input (stdin), standard output (stdout), and standard error (stderr) refer to a terminal or are even open." I don't know if this is the best way to go about it, but I applaud the idea of trying to make it easier to write correct software.


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds