nlib
Bug List
Member nlib_calloc (size_t nmemb, size_t size)
With the Cygwin version, the user program cannot override the function.
Member nlib_fd_pread (size_t *result, nlib_fd fd, void *buf, size_t count, nlib_offset offset)
The behavior when opening a file using the NLIB_FD_O_APPEND flag is undefined.
Member nlib_fd_pwrite (size_t *result, nlib_fd fd, const void *buf, size_t count, nlib_offset offset)
The behavior when opening a file using the NLIB_FD_O_APPEND flag is undefined.
Member nlib_free (void *ptr)
With the Cygwin version, the user program cannot override the function.
Member nlib_malloc (size_t size)
With the Cygwin version, the user program cannot override the function.
Member nlib_memalign (size_t alignment, size_t size)
With the Cygwin version, the user program cannot override the function.
Member nlib_realloc (void *ptr, size_t size)
With the Cygwin version, the user program cannot override the function.
Member nlib_thread_exit
For Linux and FreeBSD, a destructor for C++ automatic variables is run. For other cases, it will not be run.
Member nlib_thread_exit_cpp
A destructor registered with nlib_thread_cleanup_push() is run for Linux and FreeBSD. In addition, for FreeBSD, a thrown (special) C++ exception cannot be caught.
Member nlib_tls_alloc (nlib_tls *tls, nlib_tls_destructor destr)
If you set a value by using lib_tls_setvalue() in a destructor function, two implementations are available: an implementation in which the destructor function is called multiple times and another implementation in which it is called once. Note that, in cygwin and CTR, the destructor function is called only once as of now. The condition described above may cause memory leaks.