mirror of
https://github.com/troglobit/finit.git
synced 2026-10-26 12:14:37 +00:00
util: Import screen_width() developed for the SMCRoute project
This patch introduces the screen_width() method from the SMCRoute project. The code is hereby also available under MIT/X11. Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
9bcb3e5778
commit
90793c71a2
2 files changed
+42
-4
No files matched your search
+5
-4
@@ -1,6 +1,6 @@
|
||||
/* Misc. shared utility functions for initctl, reboot and finit
|
||||
*
|
||||
* Copyright (c) 2016 Joachim Nilsson <troglobit@gmail.com>
|
||||
* Copyright (c) 2016-2017 Joachim Nilsson <troglobit@gmail.com>
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
* of this software and associated documentation files (the "Software"), to deal
|
||||
@@ -26,9 +26,10 @@
|
||||
|
||||
extern char *prognm;
|
||||
|
||||
char *progname(char *arg0);
|
||||
void do_sleep(unsigned int sec);
|
||||
char *sanitize(char *arg, size_t len);
|
||||
char *progname (char *arg0);
|
||||
void do_sleep (unsigned int sec);
|
||||
char *sanitize (char *arg, size_t len);
|
||||
int screen_width (void);
|
||||
|
||||
#endif /* FINIT_UTIL_H_ */
|
||||
|
||||
|
||||
Reference in new issue
Block a user