version 1.1.2.8, 2007/01/17 22:13:35
|
version 1.1.2.9, 2007/01/17 22:20:03
|
|
|
#else /* !defined(HAVE_MSG_CONTROL) */ | #else /* !defined(HAVE_MSG_CONTROL) */ |
| |
mh.msg_accrights = (caddr_t)descriptors; | mh.msg_accrights = (caddr_t)descriptors; |
mh.msg_accrightslength = sizeof(int) * count; |
mh.msg_accrightslen = sizeof(int) * count; |
| |
#endif /* defined(HAVE_MSG_CONTROL) */ | #endif /* defined(HAVE_MSG_CONTROL) */ |
| |
|
|
| |
#else /* !defined(HAVE_MSG_CONTROL) */ | #else /* !defined(HAVE_MSG_CONTROL) */ |
| |
if (mh.msg_accrightslength != sizeof(int) * count) |
if (mh.msg_accrightslen != sizeof(int) * count) |
return -1; | return -1; |
| |
memcpy(descriptors, mh.msg_accrights, sizeof(int) * count); | memcpy(descriptors, mh.msg_accrights, sizeof(int) * count); |