Home | History | Annotate | Download | only in libpthread

Lines Matching refs:RL

128 	RL(msgctl(*msgidp, IPC_RMID, NULL));
144 RL(sock = socket(PF_LOCAL, SOCK_STREAM, 0));
145 RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
146 RL(listen(sock, 1));
157 RL(accept(sock, NULL, NULL));
166 RL(accept4(sock, NULL, NULL, O_CLOEXEC));
182 RL(pipe(fd));
184 RL(aio_read(&aio));
186 RL(aio_suspend(aiolist, __arraycount(aiolist), NULL));
196 RL(clock_nanosleep(CLOCK_MONOTONIC, 0, &t, NULL));
204 RL(fd = open("/dev/null", O_RDWR));
206 RL(close(fd));
245 RL(sock = socket(PF_LOCAL, SOCK_STREAM, 0));
247 RL(connect(sock, (const struct sockaddr *)&sun, sizeof(sun)));
255 RL(creat("file", 0666));
269 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
271 RL(fcntl(fd, F_SETLKW, &fl));
286 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
288 RL(fcntl(fd, F_OFD_SETLKW, &fl));
301 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
303 RL(fdatasync(fd));
311 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
313 RL(fsync(fd));
325 RL(kq = kqueue());
326 RL(kevent(kq, &ev, 1, NULL, 1, &(const struct timespec){0,0}));
328 RL(kevent(kq, NULL, 0, &ev, 1, NULL));
336 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
338 RL(lockf(fd, F_LOCK, 0));
347 RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
349 RL(mq_receive(mq, buf, sizeof(buf), NULL));
358 RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
360 RL(mq_send(mq, buf, sizeof(buf), 0));
370 RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
372 RL(mq_timedreceive(mq, buf, sizeof(buf), NULL, &t));
382 RL(mq = mq_open("mq", O_RDWR|O_CREAT, 0666, NULL));
384 RL(mq_timedsend(mq, buf, sizeof(buf), 0, &t));
393 RL(msgid = msgget(IPC_PRIVATE, IPC_CREAT));
396 RL(msgrcv(msgid, buf, sizeof(buf), 0, 0));
406 RL(msgid = msgget(IPC_PRIVATE, IPC_CREAT));
409 RL(msgsnd(msgid, buf, sizeof(buf), 0));
420 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
421 RL(ftruncate(fd, pagesize));
426 RL(msync(map, pagesize, MS_SYNC));
436 RL(nanosleep(&t, NULL));
444 RL(open("file", O_RDWR));
452 RL(openat(AT_FDCWD, "file", O_RDWR));
460 RL(pause());
469 RL(pipe(fd));
473 RL(poll(&pfd, 1, 1000));
482 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
484 RL(posix_close(fd, POSIX_CLOSE_RESTART));
499 RL(pipe(fd));
503 RL(ppoll(&pfd, 1, &t, NULL));
512 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
514 RL(pread(fd, buf, sizeof(buf), 1));
527 RL(pipe(fd));
530 RL(pselect(fd[0] + 1, &readfd, NULL, NULL, &t, NULL));
609 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
611 RL(pwrite(fd, buf, sizeof(buf), 1));
620 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
622 RL(read(fd, buf, sizeof(buf)));
632 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
634 RL(readv(fd, &iov, 1));
645 RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
646 RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
648 RL(recv(sock, buf, sizeof(buf), 0));
661 RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
662 RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
664 RL(recvfrom(sock, buf, sizeof(buf), 0, (struct sockaddr *)&ss, &len));
680 RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
681 RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
683 RL(recvmsg(sock, &msg, 0));
695 RL(pipe(fd));
698 RL(select(fd[0] + 1, &readfd, NULL, NULL, &t));
709 RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
710 RL(bind(sock, (const struct sockaddr *)&sun, sizeof(sun)));
712 RL(send(sock, buf, sizeof(buf), 0));
723 RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
725 RL(sendto(sock, buf, sizeof(buf), 0, (const struct sockaddr *)&sun,
744 RL(sock = socket(PF_LOCAL, SOCK_DGRAM, 0));
746 RL(sendmsg(sock, &msg, 0));
754 RL(sigfillset(&mask));
755 RL(sigprocmask(SIG_BLOCK, &mask, &omask));
757 RL(sigsuspend(&omask));
767 RL(sigfillset(&mask));
768 RL(sigprocmask(SIG_BLOCK, &mask, &omask));
770 RL(sigtimedwait(&omask, &info, &t));
779 RL(sigfillset(&mask));
780 RL(sigprocmask(SIG_BLOCK, &mask, &omask));
782 RL(sigwait(&omask, &sig));
791 RL(sigfillset(&mask));
792 RL(sigprocmask(SIG_BLOCK, &mask, &omask));
794 RL(sigwaitinfo(&omask, &info));
811 RL(hostfd = posix_openpt(O_RDWR|O_NOCTTY));
812 RL(grantpt(hostfd));
813 RL(unlockpt(hostfd));
815 RL(appfd = open(pts, O_RDWR|O_NOCTTY));
817 RL(tcdrain(appfd));
846 RL(wait(NULL));
854 RL(waitid(P_ALL, 0, NULL, 0));
862 RL(waitpid(-1, NULL, 0));
871 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
873 RL(write(fd, buf, sizeof(buf)));
883 RL(fd = open("file", O_RDWR|O_CREAT, 0666));
885 RL(writev(fd, &iov, 1));