summaryrefslogtreecommitdiff
path: root/support/syscall-gen/gentypes+openbsd:6.2-x64.frag
blob: b8a4866906b83693458b2f3a59ec74e51b119e58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
type dev = int32
type uid = uint32
type gid = uint32
type fd_mask = uint32
type uintptr = uint64
type clockid = int32
type id = uint32
type key = int64
type shmatt = int16

type tfork = struct
	tcb	: void#
	tid	: pid#
	stack	: void#

;;

type msghdr = struct
	name	: void#
	namelen	: int32
	iov	: iovec#
	iovlen	: uint
	control	: void#
	controllen	: int32
	flags	: int

;;

type fsid = struct
	val	: int32[2]

;;

type fid = struct
	len	: uint16
	reserved	: uint16
	data	: byte[16]

;;

type fhandle = struct
	fsid	: fsid
	fid	: fid

;;

type fdset = struct
	bits	: fd_mask[32]

;;

type kevent = struct
	ident	: uintptr
	filter	: int16
	flags	: uint16
	fflags	: uint
	data	: int64
	udata	: void#

;;

type kbind = struct
	addr	: void#
	size	: size

;;

type sembuf = struct
	num	: uint16
	op	: int16
	flg	: int16

;;

type ipc_perm = struct
	cuid	: uid
	cgid	: gid
	uid	: uid
	gid	: gid
	mode	: filemode
	seq	: uint16
	key	: key

;;

type shmid_ds = struct
	perm	: ipc_perm
	segsz	: int
	lpid	: pid
	cpid	: pid
	nattch	: shmatt
	atime	: time
	atimensec	: int64
	dtime	: time
	dtimensec	: int64
	ctime	: time
	ctimensec	: int64
	internal	: void#

;;

type msqid_ds = struct
	perm	: ipc_perm
	first	: msg#
	last	: msg#
	cbytes	: uint64
	qnum	: uint64
	qbytes	: uint64
	lspid	: pid
	lrpid	: pid
	stime	: time
	pad1	: int64
	rtime	: time
	pad2	: int64
	ctime	: time
	pad3	: int64
	pad4	: int64[4]

;;