Files
2013-11-17 10:08:24 +01:00

20 lines
229 B
C
Executable File

/*
* ShellForge example: declare and call a function
* Declarations in the global namespace must be static.
*
* $Id$
*/
static void foo(char *s, int l)
{
write(1, s, l);
}
int main(void)
{
foo("bar\n",4);
exit(0);
}