]> git.mdlowis.com Git - proto/labwc.git/commitdiff
buf.h: update documentation
authorJohan Malm <jgm323@gmail.com>
Wed, 13 Oct 2021 20:30:44 +0000 (21:30 +0100)
committerJohan Malm <jgm323@gmail.com>
Wed, 13 Oct 2021 20:30:44 +0000 (21:30 +0100)
include/common/buf.h

index bb18624d0e5df2cdc058b78af9770742343ab2a0..3b75b985b0cd13e0b7374f35f15ea84608a9d8e8 100644 (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
- * 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);