📝 Added sandbox (code sketchbook)
This commit is contained in:
parent
b475595f7f
commit
b5daf18b1a
142 changed files with 100702 additions and 0 deletions
9
sandbox/invoke.c
Normal file
9
sandbox/invoke.c
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#include <unistd.h>
|
||||
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
/* the execl function is further described in the man pages, but is placed here essentially to exemplify how to invoke a command from within a c program */
|
||||
execl("/usr/bin/st", "my terminal", NULL);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue