Renamed
This commit is contained in:
13
StackOverflow/no-protection/hello.c
Normal file
13
StackOverflow/no-protection/hello.c
Normal file
@@ -0,0 +1,13 @@
|
||||
#include <stdio.h>
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
void SayHello(void){
|
||||
char tmpName[60];
|
||||
read(0, tmpName, 1000);
|
||||
printf("Hello %s\n", tmpName);
|
||||
}
|
||||
|
||||
int main(int argc, char** argv){
|
||||
SayHello();
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user