diff options
| author | Franklin Wei <git@fwei.tk> | 2016-03-31 17:05:37 -0400 |
|---|---|---|
| committer | Franklin Wei <git@fwei.tk> | 2016-03-31 17:05:37 -0400 |
| commit | 207850187986568b17ea9b2d9c29510cb00bf9da (patch) | |
| tree | aee87cf74280e8f9dd29aca88d12a638f37b2493 /src/util.h | |
| parent | b3699dd5df18db3c060bb88a74c1b05e37154c76 (diff) | |
| download | netcosm-207850187986568b17ea9b2d9c29510cb00bf9da.zip netcosm-207850187986568b17ea9b2d9c29510cb00bf9da.tar.gz netcosm-207850187986568b17ea9b2d9c29510cb00bf9da.tar.bz2 netcosm-207850187986568b17ea9b2d9c29510cb00bf9da.tar.xz | |
lots of things
Diffstat (limited to 'src/util.h')
| -rw-r--r-- | src/util.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -51,3 +51,6 @@ size_t read_size(int fd); bool is_vowel(char c); size_t strlcat(char *dst, const char *src, size_t siz); + +/* formats a noun's name */ +char *format_noun(char *buf, size_t len, const char *name, size_t count, bool default_article, bool capitalize); |