| Main index | Section 3 | 日本語 | Options |
#include <pthread.h>
The results of calling pthread_rwlock_init() with an already initialized lock are undefined.
| [EAGAIN] | |
| The system lacked the necessary resources (other than memory) to initialize the lock. | |
| [ENOMEM] | |
| Insufficient memory exists to initialize the lock. | |
| [EPERM] | |
| The caller does not have sufficient privilege to perform the operation. | |
The pthread_rwlock_init() function may fail if:
| [EBUSY] | |
| The system has detected an attempt to re-initialize the object referenced by lock, a previously initialized but not yet destroyed read/write lock. | |
| [EINVAL] | |
| The value specified by attr is invalid. | |
| PTHREAD_RWLOCK_INIT (3) | August 17, 2018 |
| Main index | Section 3 | 日本語 | Options |
Please direct any comments about this manual page service to Ben Bullock. Privacy policy.
| “ | Ken Thompson has an automobile which he helped design. Unlike most automobiles, it has neither speedometer, nor gas gauge, nor any of the other numerous idiot lights which plague the modern driver. Rather, if the driver makes a mistake, a giant “?” lights up in the center of the dashboard. “The experienced driver,” says Thompson, “will usually know what's wrong.” | ” |