Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(153)

Side by Side Diff: fusl/include/sys/signalfd.h

Issue 1573973002: Add a "fork" of musl as //fusl. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « fusl/include/sys/signal.h ('k') | fusl/include/sys/socket.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 #ifndef _SYS_SIGNALFD_H
2 #define _SYS_SIGNALFD_H
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include <stdint.h>
9 #include <fcntl.h>
10
11 #define __NEED_sigset_t
12
13 #include <bits/alltypes.h>
14
15 #define SFD_CLOEXEC O_CLOEXEC
16 #define SFD_NONBLOCK O_NONBLOCK
17
18 int signalfd(int, const sigset_t *, int);
19
20 struct signalfd_siginfo {
21 uint32_t ssi_signo;
22 int32_t ssi_errno;
23 int32_t ssi_code;
24 uint32_t ssi_pid;
25 uint32_t ssi_uid;
26 int32_t ssi_fd;
27 uint32_t ssi_tid;
28 uint32_t ssi_band;
29 uint32_t ssi_overrun;
30 uint32_t ssi_trapno;
31 int32_t ssi_status;
32 int32_t ssi_int;
33 uint64_t ssi_ptr;
34 uint64_t ssi_utime;
35 uint64_t ssi_stime;
36 uint64_t ssi_addr;
37 uint16_t ssi_addr_lsb;
38 uint8_t pad[128-12*4-4*8-2];
39 };
40
41 #ifdef __cplusplus
42 }
43 #endif
44
45 #endif
OLDNEW
« no previous file with comments | « fusl/include/sys/signal.h ('k') | fusl/include/sys/socket.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698