Run Code
|
API
|
Code Wall
|
Misc
|
Feedback
|
Login
|
Theme
|
Privacy
|
Patreon
Print Bash Version.c
/* * Prints bash version info. */ #define BASH_LOC "/bin/bash" #include <stdio.h> #include <unistd.h> int main(void) { int ret; char *args[] = { "bash", "--version", NULL }; ret = execv( BASH_LOC, args ); if( ret ){ perror("execv"); return ret; } }
run
|
edit
|
history
|
help
1
FunPointUnion
if (strcmp(abb, "lol")==0 || strcmp(abb, "LOL")==0 || )
la profe
PI
Project 3 Part 1 v1.5
lab2
kill
CS HW2
segundo avance de la lista enlazada
variable number of arguments