diff options
author | Thiago Macieira <thiago.macieira@nokia.com> | 2009-04-22 14:47:12 (GMT) |
---|---|---|
committer | Thiago Macieira <thiago.macieira@nokia.com> | 2009-07-02 11:29:35 (GMT) |
commit | c5f83fbd89d6bb950fb012c285879f6c88b5bdf3 (patch) | |
tree | d93529f6bf8cf87ff6b9b1df8ae39a86dc4b2766 /src/corelib/io | |
parent | ebfdbff7712e230c19fc2a990632038e3fc79ef2 (diff) | |
download | Qt-c5f83fbd89d6bb950fb012c285879f6c88b5bdf3.zip Qt-c5f83fbd89d6bb950fb012c285879f6c88b5bdf3.tar.gz Qt-c5f83fbd89d6bb950fb012c285879f6c88b5bdf3.tar.bz2 |
Add qcore_unix_p.h containing mostly safe versions of Unix functions.
Most of these functions are from unistd.h and need to have a loop
around the actual call because the calls can be interrupted by a
signal delivery.
Some special calls (open, dup2, pipe) require an extra flag to support
thread-safe execution: the file descriptor must be created from the
operating system with the FD_CLOEXEC flag already set.
The O_CLOEXEC flag is specified in POSIX.1-2008, but the rest is
Linux-specific.
Reviewed-By: João Abecasis
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions