Actions
Submit #2303
closedSUN_LEN() usage
Start date:
02/09/2012
Due date:
% Done:
0%
Estimated time:
Description
Alex,
Shouldn't we pass a SUN_LEN(un_addr) here instead a plain sizeof(un_addr)?
Cheers,
Antonio Huete
Updated by tuxillo almost 13 years ago
- Status changed from New to Closed
Hi,
I haven't been able to find a reference to SUN_LEN() in Opengroup. Also, its usage seems merely to save up some bytes but it adds extra overhead by using strlen, which in this case was no issue at all. Passing the whole struct size is fine.
Closing this one.
Cheers,
Antonio Huete
Actions