On Thu, Dec 25, 2014 at 3:03 PM, Ted Unangst wrote:
> There's a comment here that talks about the padding, but it would be
> clearer to show it.
>
> I was recreating this struct recently, and following the man page
> didn't work. The text sounds like d_name itself is padded.
IMO, we include struc
Hi!
Im using threads, and each thread setups raw socket with proto ICMP.This way
thread verifying remote client liveness by sending icmp echo and receiving icmp
reply.The issue is when icmp reply received, then each thread is notifying by
select(), although each thread has its own socket and soc
> Date: Fri, 26 Dec 2014 00:18:04 -0500
> From: Ted Unangst
>
> Theo noticed that the realloc loop in ps is suboptimal.
>
> Mostly style change: overflow checking for "free" courtesy of
> reallocarray. Vageuly wasteful, but ps strings are small.
>
> Mostly functional change: there's no need to