lib/ofpbuf.c
/* Appends 'size' zeroed bytes to the tail end of 'b'.  Data in 'b' is
 * reallocated and copied if necessary.  Returns a pointer to the first byte of
 * the data's location in the ofpbuf. */
Appends 'size' zeroed bytes to the tail end of 'b'.  Data in 'b' is
reallocated and copied if necessary.  Returns a pointer to the first byte of
the data's location in the ofpbuf.
Appends ' size ' zeroed bytes to the tail end of ' b ' . Data in ' b ' is reallocated and copied if necessary . Returns a pointer to the first byte of the data ' s location in the ofpbuf .
void *
ofpbuf_put_zeros(struct ofpbuf *b, size_t size)
{
    void *dst = ofpbuf_put_uninit(b, size);
    nullable_memset(dst, 0, size);
    return dst;
}
void * ofpbuf_put_zeros ( struct ofpbuf * b , size_t size ) { void * dst = ofpbuf_put_uninit ( b , size ) ; nullable_memset ( dst , 0 , size ) ; return dst ; }
Appends 'size' zeroed bytes to the tail end of 'b'.
Appends ' size ' zeroed bytes to the tail end of ' b ' .