oops many changes i forgot to push lol
This commit is contained in:
174 files changed
+898
-288
No files matched your search
+2
-3
@@ -1,4 +1,3 @@
|
||||
|
||||
#ifndef KEYVIBE_UTILS_H
|
||||
#define KEYVIBE_UTILS_H
|
||||
|
||||
@@ -8,8 +7,7 @@
|
||||
// Returns 1 on success, 0 on truncation/error
|
||||
int safe_snprintf(char *dst, size_t dst_sz, const char *fmt, ...);
|
||||
|
||||
// fprintf to stderr with printf-style formatting. Returns 1 for convenient
|
||||
// `return errorf(...)` usage.
|
||||
// fprintf to stderr with printf-style formatting. Returns 1 for convenient `return errorf(...)` usage.
|
||||
int errorf(const char *fmt, ...);
|
||||
|
||||
// Common runtime helpers
|
||||
@@ -20,3 +18,4 @@ int write_pidfile(const char *path, pid_t pid);
|
||||
int process_is_running(pid_t pid);
|
||||
|
||||
#endif // KEYVIBE_UTILS_H
|
||||
|
||||
Reference in new issue
Block a user