The Software Developer's Guide to Linux by David Cohen / Christian Sturm

The Software Developer's Guide to Linux by David Cohen / Christian Sturm

Author:David Cohen / Christian Sturm
Language: eng
Format: epub
Tags: COM046070 - COMPUTERS / Operating Systems / Linux, COM015000 - COMPUTERS / Security / Viruses & Malware, COM043000 - COMPUTERS / Networking / General
Publisher: Packt
Published: 2024-01-23T11:07:03+00:00


These first three file descriptors function as standard communication channels to (and from) a process. As a result, they exist in the same order for every process created on the system. The first always points to a file which will be used to read in input. The second points to a file that will be used for writing output. And the third references a file that will receive error output.

Optionally, after those first three standard file descriptors, there can be any number of other file descriptors/handles, based on what the program is doing. Your process could have:

Files it’s working with

Sockets it’s reading from or writing to (think Unix or TCP sockets being written to for networking)

Devices like keyboards or disks it needs to use



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.