From: Johan Malm Date: Wed, 13 Oct 2021 20:30:44 +0000 (+0100) Subject: buf.h: update documentation X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=74f01af5db4386fad9eea72eedebbb808bc4689b;p=proto%2Flabwc.git buf.h: update documentation --- diff --git a/include/common/buf.h b/include/common/buf.h index bb18624d..3b75b985 100644 --- a/include/common/buf.h +++ b/include/common/buf.h @@ -18,16 +18,16 @@ struct buf { }; /** - * buf_expand_shell_variables - expand $foo and ~ in buffer + * buf_expand_shell_variables - expand $foo, ${foo} and ~ in buffer * @s: buffer - * Note: ${foo} and $$ are not handled + * Note: $$ is not handled */ void buf_expand_shell_variables(struct buf *s); /** * buf_init - allocate NULL-terminated C string buffer * @s: buffer - * Note: use free(s->buf) to free it. + * Note: use free(s->buf) to free it */ void buf_init(struct buf *s);