summaryrefslogtreecommitdiff
path: root/users/mtei/pseudo_sprintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'users/mtei/pseudo_sprintf.h')
-rw-r--r--users/mtei/pseudo_sprintf.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/users/mtei/pseudo_sprintf.h b/users/mtei/pseudo_sprintf.h
new file mode 100644
index 0000000000..1b91ee5ea8
--- /dev/null
+++ b/users/mtei/pseudo_sprintf.h
@@ -0,0 +1,8 @@
+// Copyright 2022 Takeshi Ishii (@mtei)
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+#pragma once
+
+char *sprints(char *buf, char *src);
+char *sprintd(char *buf, char *leadstr, int data);
+char *sprint2d(char *buf, char *leadstr, int data);