Searched refs:KEY (Results 1 - 4 of 4) sorted by relevance
/haiku/src/system/libroot/posix/glibc/include/bits/ |
H A D | libc-tsd.h | 26 __libc_tsd_define(CLASS, KEY) -- Define or declare a `void *' datum 27 for KEY. CLASS can be `static' for 31 __libc_tsd_address(KEY) -- Return the `void **' pointing to 32 the current thread's datum for KEY. 33 __libc_tsd_get(KEY) -- Return the `void *' datum for KEY. 34 __libc_tsd_set(KEY, VALUE) -- Set the datum for KEY to VALUE. 36 The set of available KEY's will usually be provided as an enum, 55 # define __libc_tsd_define(CLASS, KEY) \ [all...] |
H A D | libc-lock.h | 93 #define __libc_key_create(KEY, DESTRUCTOR) \ 97 #define __libc_getspecific(KEY) \ 101 #define __libc_setspecific(KEY, VALUE) \
|
/haiku/src/tests/system/libroot/posix/ |
H A D | xsi_msg_queue_test1.cpp | 23 #define KEY ((key_t)12345) macro 55 TEST("msgget(KEY, IPC_CREAT) non-existing"); 56 msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR 61 TEST("msgget(KEY) re-open existing without IPC_CREAT"); 62 int returnID = msgget(KEY, 0); 67 returnID = msgget(KEY, IPC_CREAT | IPC_EXCL); 77 msgID = msgget(KEY, IPC_EXCL | S_IRUSR | S_IWUSR 99 int msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR 144 int msgID = msgget(KEY, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR 190 int msgID = msgget(KEY, IPC_CREA [all...] |
H A D | xsi_sem_test1.cpp | 24 #define KEY ((key_t)12345) macro 59 TEST("semget(KEY, IPC_CREAT) non-existing"); 60 semID = semget(KEY, NUM_OF_SEMS, IPC_CREAT | IPC_EXCL | S_IRUSR | S_IWUSR 65 TEST("semget(KEY) re-open existing without IPC_CREAT"); 66 int returnID = semget(KEY, 0, 0); 71 returnID = semget(KEY, 0, IPC_CREAT | IPC_EXCL); 81 semID = semget(KEY, NUM_OF_SEMS, IPC_EXCL | S_IRUSR | S_IWUSR 102 TEST("semget(KEY) re-open existing without IPC_CREAT"); 103 int returnedID = semget(KEY, 0, 0); 174 int semID = semget(KEY, NUM_OF_SEM [all...] |
Completed in 90 milliseconds