ubase/text.h
Hiltjo Posthuma f48d545c77 passwd: improvements
- add shadow support.
- allow passwd without argument, prompt which user password is changed.
2014-07-10 22:04:06 +01:00

14 lines
305 B
C

/* See LICENSE file for copyright and license details. */
struct linebuf {
char **lines;
long nlines;
long capacity;
};
#define EMPTY_LINEBUF {NULL, 0, 0,}
void getlines(FILE *, struct linebuf *);
ssize_t agetline(char **, size_t *, FILE *);
void concat(FILE *, const char *, FILE *, const char *);