About 32,300 results
Open links in new tab
  1. File Descriptors in Linux - How to Use it - LinuxOPsys

    May 22, 2023 · Explore the inner workings and practical applications of file descriptors, the key to efficient input/output operations in Linux.

  2. What is an open file description? - Unix & Linux Stack Exchange

    The file descriptor structure contains a pointer to an open file description. There can be multiple file descriptors pointing to the same open file description, from multiple processes, for example …

  3. How to list the open file descriptors (and the files they refer ... - linux

    Dec 28, 2016 · I have created some file descriptors, using exec, and I would like to list what is the current status of my bash session. Is there a way to list the currently open file descriptors?

  4. file descriptor vs. file name - Unix & Linux Stack Exchange

    A file descriptor designates an open file in a particular process. The kernel maintains a table of file descriptors for each process. Each entry in the file descriptor table indicates what to do if the …

  5. Sockets and File Descriptors - Unix & Linux Stack Exchange

    Apr 11, 2018 · As I’ve said before, file descriptors are meaningless outside their owning process. You can use a debugger to attach to a process and run code inside it, which allows you to use …

  6. File descriptors & shell scripting - Unix & Linux Stack Exchange

    Each open file gets assigned a file descriptor and the file descriptor for stdin is 0 stdout is 1 stderr is 2 For opening additional files, there remain descriptors 3 to 9.

  7. Limits on the number of file descriptors - Unix & Linux Stack …

    File handles (struct file in the kernel) are different from file descriptors: multiple file descriptors can point to the same file handle, and file handles can also exist without an associated descriptor …

  8. file descriptors - select would indicate pipe is readable when …

    Jun 10, 2020 · The select() column indicates whether a file descriptor is marked as readable (r), writable (w), or having an exceptional condition (x). .... Pipes and FIFOs Table 63-4 …

  9. MariaDB on Windows 11 Pro fails due to privilege tables' file …

    Oct 20, 2023 · About 5-6 days after each fresh installation of (the newest) XAMPP 8.2.4 on Windows 11 Pro (10.0.22621 Build 22621), MariaDB 10.4.28 on-board it starts to fail during …

  10. How can same fd in different processes point to the same file?

    The file descriptor, i.e. the 4 in your example, is the index into the process-specific file descriptor table, not the open file table. The file descriptor entry itself contains an index to an entry in the …