mirror of
https://github.com/troglobit/libite.git
synced 2026-11-14 19:03:05 +00:00
Add support for systemf(), formatted system() replacement
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
1 parent
7f3f4df9e9
commit
f1a1a21569
7 files changed
+116
-1
No files matched your search
@@ -304,6 +304,12 @@ Generic Functions
|
||||
Find matching string in an array of strings. Returns index in array
|
||||
on match, or `-1` on error or not found.
|
||||
|
||||
`systemf(fmt, ...)`
|
||||
|
||||
Like `system()`, but takes a formatted string as argument. This
|
||||
greatly simplifies operations that usually consist of composing a
|
||||
command from parts into a dynamic buffer before calling it.
|
||||
|
||||
- `telnet_open(), telnet_close(), telnet_expect()`
|
||||
|
||||
Poor mans telnet expect in C. Opens connection to a Telnet service;
|
||||
|
||||
Reference in new issue
Block a user