Skip to content

Commit

Permalink
adding 100, first.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrfosse committed Mar 24, 2017
1 parent 72a1b32 commit b16ff5e
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 0 deletions.
11 changes: 11 additions & 0 deletions 0x11-singly_linked_lists/100-first.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#include <stdio.h>
/**
* first - prints before main executes.
* Return: none.
*/
void first(void) __attribute__ ((constructor));
void first(void)
{
printf("You're beat! and yet, you must allow,\n"
"I bore my house upon my back!\n");
}
12 changes: 12 additions & 0 deletions 0x11-singly_linked_lists/100-main.c
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#include <stdio.h>

/**
* main - check the code for Holberton School students.
*
* Return: Always 0.
*/
int main(void)
{
printf("(A tortoise, having pretty good sense of a hare's nature, challenges one to a race.)\n");
return (0);
}
Binary file added 0x11-singly_linked_lists/first
Binary file not shown.

0 comments on commit b16ff5e

Please sign in to comment.