Modular SHell
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
msh/fstr.h

16 lines
302 B

3 years ago
#ifndef _MSH_FSTR_H
#define _MSH_FSTR_H
// current length of the string and remaining space, total allocated space is
// len + space
typedef struct _fstr {
unsigned long int len;
unsigned long int space;
char *s;
} fstr_t;
void fstr_append_char(fstr_t *, char);
3 years ago
void fstr_clear(fstr_t *);
3 years ago
#endif