瀏覽代碼

LibC: Add POSIX spec comments for poll

Brian Gianforcaro 3 年之前
父節點
當前提交
3c897d0443
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Userland/Libraries/LibC/poll.cpp

+ 1 - 0
Userland/Libraries/LibC/poll.cpp

@@ -11,6 +11,7 @@
 
 
 extern "C" {
 extern "C" {
 
 
+// https://pubs.opengroup.org/onlinepubs/9699919799/functions/poll.html
 int poll(pollfd* fds, nfds_t nfds, int timeout_ms)
 int poll(pollfd* fds, nfds_t nfds, int timeout_ms)
 {
 {
     timespec timeout;
     timespec timeout;