source: trunk/kBuild/doc/example1/libhello/libhello.c

Last change on this file was 2343, checked in by bird, 16 years ago

doc/example1: create a simple example config.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 368 bytes
Line 
1/* $Id: libhello.c 2343 2009-04-19 21:44:50Z bird $ */
2/** @file
3 * Example no. 1 - libhello.c - Hello world library.
4 */
5
6/*
7 * The author disclaims copyright to this example code and places
8 * it in the public domain.
9 *
10 * #include <full-legal-disclaimer.h>
11 *
12 */
13
14#include <stdio.h>
15
16extern int print_hello_world(void);
17
18int print_hello_world(void)
19{
20 printf("Hello library world!\n");
21 return 0;
22}
23
24
Note: See TracBrowser for help on using the repository browser.