Errata

ChannelCreate()
Typically your program calls ChannelCreate() only once, and all threads block on that channel. We've corrected a call to MsgReplyv() in one of the examples.
clock_getcpuclockid(), clock_gettime(), ClockId(), ClockId_r(), ClockTime(), ClockTime_r()
We've corrected the description of these functions.
dircntl()
We've corrected the description of what this function returns.
dirname()
If you pass a string of "/usr/" to dirname(), the string returned is "/", not "usr".
execl(), execle(), execlp(), execlpe(), execv(), execve(), execvp(), execvpe()
We've corrected the spelling of EACCES.
ftruncate(), ftruncate64()
These functions can indicate an error of ENOMEM if there wasn't enough memory to change the size of a shared memory object.
ftw()
We've corrected the spelling of EACCES.
getrlimit()
RLIMIT_FSIZE and RLIMIT_MEMLOCK aren't supported.
getsockopt()
We've corrected the call to memset() in the example.
iofunc_check_access()
We've corrected the spelling of EACCES.
iofunc_stat_default()
This function returns -1, to indicate to the resource manager library that it should return one part from the ctp->iov structure (see resmgr_context_t) to the client.
mem_offset(), mem_offset64()
We've corrected the description of these functions. You must specify NOFD for the fd argument; to get the offset and length of a mapped typed memory block, use posix_mem_offset() or posix_mem_offset64().
mount_parse_generic_args()
We've corrected the names of the _MOUNT_NOATIME, _MOUNT_NOCREAT, and _MOUNT_NOSUID flags.
mq_open()
You need to include <fcntl.h> if you want to use O_CREAT, O_EXCL, or O_NONBLOCK when you call this function.
munmap()
The ability to munmap() just a part of an area mapped with mmap() was introduced in QNX Neutrino 6.3.2.
nftw(), nftw64()
  • We've corrected the spelling of EACCES.
  • We've corrected the name of the <ftw.h> header file.
posix_spawn(), posix_spawn_file_actions_addclose(), posix_spawn_file_actions_adddup2(), posix_spawn_file_actions_addopen(), posix_spawn_file_actions_destroy(), posix_spawn_file_actions_init(), posix_spawnattr_addpartid(), posix_spawnattr_addpartition(), posix_spawnattr_destroy(), posix_spawnattr_getcred(), posix_spawnattr_getflags(), posix_spawnattr_getnode(), posix_spawnattr_getpartid(), posix_spawnattr_getpgroup(), posix_spawnattr_getrunmask(), posix_spawnattr_getschedparam(), posix_spawnattr_getschedpolicy(), posix_spawnattr_getsigdefault(), posix_spawnattr_getsigignore(), posix_spawnattr_getsigmask(), posix_spawnattr_getstackmax(), posix_spawnattr_getxflags(), posix_spawnattr_init(), posix_spawnattr_setcred(), posix_spawnattr_setflags(), posix_spawnattr_setnode(), posix_spawnattr_setpgroup(), posix_spawnattr_setrunmask(), posix_spawnattr_setschedparam(), posix_spawnattr_setschedpolicy(), posix_spawnattr_setsigdefault(), posix_spawnattr_setsigignore(), posix_spawnattr_setsigmask(), posix_spawnattr_setstackmax(), posix_spawnattr_setxflags(), posix_spawnp()
  • We've corrected the synopsis for posix_spawn() and posix_spawnp(), and corrected the list of reasons why these functions might indicate an error of EINVAL.
  • These functions return error codes instead of setting errno.
  • These functions are declared in <spawn.h>.
  • It isn't safe to call posix_spawn() or posix_spawnp() from an interrupt handler.
posix_typed_mem_open()
You need to include <fcntl.h> in order to get the definitions of O_RDONLY, etc.
pthread_getcpuclockid()
We've corrected the description of this function.
rename()
We've corrected the spelling of EACCES.
SchedGet()
This routine returns an actual scheduling policy value, not SCHED_ADJTOHEAD or SCHED_ADJTOTAIL.
sem_open()
You need to include <fcntl.h> if you want to use O_CREAT or O_EXCL when you call this function.
sem_unlink()
We've corrected the spelling of EACCES.
setdomainame()
It isn't safe to call this function from an interrupt handler.
setrlimit()
RLIMIT_FSIZE and RLIMIT_MEMLOCK aren't supported.
shm_ctl_special()
Calling shm_ctl_special() with a special argument of 0 isn't equivalent to calling shm_ctl().
spawn(), spawnl(), spawnle(), spawnlp(), spawnlpe(), spawnp(), spawnv(), spawnve(), spawnvp(), spawnvpe()
We've corrected the spelling of EACCES.
stat()
S_IFMT is a mask for the file-type bits in st_mode.
SyncTypeCreate()
We've corrected the name of the _sync_attr structure.
tmpfile()
We've corrected the spelling of EACCES.
trace_logf(), trace_nlogf(), trace_vnlogf()
It isn't safe to call these functions from an interrupt handler if the formatting codes or parameters include floating-point elements.
wcscpy(), wcsncpy(), wcstoul(), wcstoull(), wcsxfrm(), wprintf(), wscanf()
We've corrected the synopsis.