diff options
author | Nicholas Noll <nbnoll@eml.cc> | 2021-12-05 09:47:21 -0800 |
---|---|---|
committer | Nicholas Noll <nbnoll@eml.cc> | 2021-12-05 10:54:20 -0800 |
commit | 521d01e8ad87e931af3e9a763cc84a6cf7fe5ee3 (patch) | |
tree | f544119060c3eefc7b0fec6cff1740a362541213 /include/base/fmt.h | |
parent | 158d9b84f14457136379f42e7c071eb79d87ee6b (diff) |
Feat: basic string and memory functions
Continue filling out the basic standard lib functions.
Included prototypes of the str* and mem* families.
Plan to add e(str|mem) and n(str|mem) variants as well.
Diffstat (limited to 'include/base/fmt.h')
-rw-r--r-- | include/base/fmt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/base/fmt.h b/include/base/fmt.h index 4c187fd..92e3261 100644 --- a/include/base/fmt.h +++ b/include/base/fmt.h @@ -54,12 +54,12 @@ int fmt·fprint(int fd, char *fmt, ...); void fmt·panic(char *fmt, ...); int fmt·sprint(char *buf, char *fmt, ...); -int fmt·nsprint(int len, char *buf, char *fmt, ...); +int fmt·nsprint(char *buf, int len, char *fmt, ...); char *fmt·esprint(char *buf, char *end, char *fmt, ...); int fmt·vprint(char *fmt, va_list args); int fmt·vfprint(int fd, char *fmt, va_list args); -int fmt·vnsprint(int len, char *buf, char *fmt, va_list args); +int fmt·vnsprint(char *buf, int len, char *fmt, va_list args); char *fmt·vesprint(char *buf, char *end, char *fmt, va_list args); /* low-level interface: used for custom printing verbs */ |