source: azure_iot_hub/trunk/musl-1.1.18/include/sys/signalfd.h@ 388

Last change on this file since 388 was 388, checked in by coas-nagasima, 5 years ago

Azure IoT Hub Device C SDK を使ったサンプルの追加

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-chdr
File size: 751 bytes
Line 
1#ifndef _SYS_SIGNALFD_H
2#define _SYS_SIGNALFD_H
3
4#ifdef __cplusplus
5extern "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
18int signalfd(int, const sigset_t *, int);
19
20struct 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
Note: See TracBrowser for help on using the repository browser.