buf.h: update documentation

This commit is contained in:
Johan Malm 2021-10-13 21:30:44 +01:00
parent 960a1bb2ed
commit 74f01af5db

View file

@ -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 * @s: buffer
* Note: ${foo} and $$ are not handled * Note: $$ is not handled
*/ */
void buf_expand_shell_variables(struct buf *s); void buf_expand_shell_variables(struct buf *s);
/** /**
* buf_init - allocate NULL-terminated C string buffer * buf_init - allocate NULL-terminated C string buffer
* @s: 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); void buf_init(struct buf *s);