~ubuntu-branches/ubuntu/utopic/golang/utopic

« back to all changes in this revision

Viewing changes to src/pkg/runtime/defs_linux_386.h

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2013-08-20 14:06:23 UTC
  • mfrom: (14.1.23 saucy-proposed)
  • Revision ID: package-import@ubuntu.com-20130820140623-b414jfxi3m0qkmrq
Tags: 2:1.1.2-2ubuntu1
* Merge from Debian unstable (LP: #1211749, #1202027). Remaining changes:
  - 016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.
  - d/control,control.cross: Update Breaks/Replaces for Ubuntu
    versions to ensure smooth upgrades, regenerate control file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// Created by cgo -cdefs - DO NOT EDIT
2
 
// cgo -cdefs defs2.go
 
2
// cgo -cdefs defs2_linux.go
3
3
 
4
4
 
5
5
enum {
 
6
        EINTR   = 0x4,
 
7
        EAGAIN  = 0xb,
 
8
        ENOMEM  = 0xc,
 
9
 
6
10
        PROT_NONE       = 0x0,
7
11
        PROT_READ       = 0x1,
8
12
        PROT_WRITE      = 0x2,
72
76
 
73
77
        O_RDONLY        = 0x0,
74
78
        O_CLOEXEC       = 0x80000,
 
79
 
 
80
        EPOLLIN         = 0x1,
 
81
        EPOLLOUT        = 0x4,
 
82
        EPOLLERR        = 0x8,
 
83
        EPOLLHUP        = 0x10,
 
84
        EPOLLRDHUP      = 0x2000,
 
85
        EPOLLET         = -0x80000000,
 
86
        EPOLL_CLOEXEC   = 0x80000,
 
87
        EPOLL_CTL_ADD   = 0x1,
 
88
        EPOLL_CTL_DEL   = 0x2,
 
89
        EPOLL_CTL_MOD   = 0x3,
75
90
};
76
91
 
77
92
typedef struct Fpreg Fpreg;
86
101
typedef struct Sigcontext Sigcontext;
87
102
typedef struct Ucontext Ucontext;
88
103
typedef struct Itimerval Itimerval;
 
104
typedef struct EpollEvent EpollEvent;
89
105
 
90
106
#pragma pack on
91
107
 
132
148
        void    *k_sa_handler;
133
149
        uint32  sa_flags;
134
150
        void    *sa_restorer;
135
 
        uint32  sa_mask;
 
151
        uint64  sa_mask;
136
152
};
137
153
struct Siginfo {
138
154
        int32   si_signo;
186
202
        Timeval it_interval;
187
203
        Timeval it_value;
188
204
};
 
205
struct EpollEvent {
 
206
        uint32  events;
 
207
        uint64  data;
 
208
};
189
209
 
190
210
 
191
211
#pragma pack off