equal
deleted
inserted
replaced
176 Onoff int32 |
176 Onoff int32 |
177 Linger int32 |
177 Linger int32 |
178 } |
178 } |
179 |
179 |
180 type Iovec struct { |
180 type Iovec struct { |
181 Base *int8 |
181 Base *byte |
182 Len uint64 |
182 Len uint64 |
183 } |
183 } |
184 |
184 |
185 type IPMreq struct { |
185 type IPMreq struct { |
186 Multiaddr [4]byte /* in_addr */ |
186 Multiaddr [4]byte /* in_addr */ |
438 POLLRDBAND = 0x80 |
438 POLLRDBAND = 0x80 |
439 POLLRDNORM = 0x40 |
439 POLLRDNORM = 0x40 |
440 POLLWRBAND = 0x100 |
440 POLLWRBAND = 0x100 |
441 POLLWRNORM = 0x4 |
441 POLLWRNORM = 0x4 |
442 ) |
442 ) |
|
443 |
|
444 type fileObj struct { |
|
445 Atim Timespec |
|
446 Mtim Timespec |
|
447 Ctim Timespec |
|
448 Pad [3]uint64 |
|
449 Name *int8 |
|
450 } |
|
451 |
|
452 type portEvent struct { |
|
453 Events int32 |
|
454 Source uint16 |
|
455 Pad uint16 |
|
456 Object uint64 |
|
457 User *byte |
|
458 } |
|
459 |
|
460 const ( |
|
461 PORT_SOURCE_AIO = 0x1 |
|
462 PORT_SOURCE_TIMER = 0x2 |
|
463 PORT_SOURCE_USER = 0x3 |
|
464 PORT_SOURCE_FD = 0x4 |
|
465 PORT_SOURCE_ALERT = 0x5 |
|
466 PORT_SOURCE_MQ = 0x6 |
|
467 PORT_SOURCE_FILE = 0x7 |
|
468 PORT_ALERT_SET = 0x1 |
|
469 PORT_ALERT_UPDATE = 0x2 |
|
470 PORT_ALERT_INVALID = 0x3 |
|
471 FILE_ACCESS = 0x1 |
|
472 FILE_MODIFIED = 0x2 |
|
473 FILE_ATTRIB = 0x4 |
|
474 FILE_TRUNC = 0x100000 |
|
475 FILE_NOFOLLOW = 0x10000000 |
|
476 FILE_DELETE = 0x10 |
|
477 FILE_RENAME_TO = 0x20 |
|
478 FILE_RENAME_FROM = 0x40 |
|
479 UNMOUNTED = 0x20000000 |
|
480 MOUNTEDOVER = 0x40000000 |
|
481 FILE_EXCEPTION = 0x60000070 |
|
482 ) |