drop puts in favor of write, smaller main prog :D
This commit is contained in:
parent
fb8121c8e4
commit
ac747bbbf4
1 changed files with 950 additions and 1682 deletions
|
|
@ -2,7 +2,7 @@
|
|||
#include <unistd.h>
|
||||
|
||||
int main(int argc, const char **argv) {
|
||||
const message = "Hello, world!\n";
|
||||
static const char message[] = "Hello, world!\n";
|
||||
write(STDIN_FILENO, message, strlen(message));
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue