Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-08-24 | (stdopen): Revert to iterating over descriptors, but | Jim Meyering | |
rather than using fstat, use fcntl with its F_GETFD flag, which is more efficient. Unlike the 2-syscall dup-close approach, this one doesn't apply any unnecessary pressure on the file descriptor pool -- thus there is one fewer way to fail. | |||
2005-08-19 | (stdopen): Return `bool' so caller can detect failure. | Jim Meyering | |
2005-06-30 | Add copyright. | Jim Meyering | |
Include <fcntl.h> and <unistd.h> unconditionally -- it seems to be ok to do this, these days. | |||
2005-06-30 | Rewritten by Paul Eggert. | Jim Meyering | |
Now, the minimum overhead is just two system calls: dup and close. | |||
2005-06-30 | New file. As yet unused. | Jim Meyering | |