listings/appendix-a/hello.c
raw| 1 | /*********************************************************************** |
| 2 | * Code listing from "Advanced Linux Programming," by CodeSourcery LLC * |
| 3 | * Copyright (C) 2001 by New Riders Publishing * |
| 4 | * See COPYRIGHT for license information. * |
| 5 | ***********************************************************************/ |
| 6 | |
| 7 | #include <stdio.h> |
| 8 | |
| 9 | int main () |
| 10 | { |
| 11 | printf ("Hello, world.\n"); |
| 12 | return 0; |
| 13 | } |