On Monday 21 April 2008 15:14, walter harms wrote: > why not using sizeof(ifr.ifr_name) ? It would remove the need for IFNAMSIZ Well, after I was bitten a few times with bugs where array was later changed into pointer and sizeof(v) become 4 without anyone noticing, I'm careful with s/CONST/sizeof(v)/ -- vda