buffer: add buffer_write()
This commit is contained in:
parent
e0976e0d23
commit
4c664f2400
2 changed files with 18 additions and 0 deletions
2
buffer.h
2
buffer.h
|
|
@ -95,4 +95,6 @@ static inline void buffer_str_term(struct buffer *b, char ch) {
|
|||
buffer_append_ch(b, ch);
|
||||
}
|
||||
|
||||
int buffer_write(struct buffer *b, const char *filename);
|
||||
|
||||
#endif /* BUFFER_H */
|
||||
|
|
|
|||
Reference in a new issue