view examples/hello.c @ 2271:fd2c3f3def9d

* src/monitor.c (cyg_monitor_network): Calling the network monitor html handler can trigger an exception when the function getifaddrs() fails because we are out of memory. Check the return code and return failure if this happens.
author asl
date Fri, 11 Aug 2006 15:54:45 +0000
parents ead06911cbae
children
line wrap: on
line source

/* this is a simple hello world program */
#include <stdio.h>

int main(void)
{
  printf("Hello, eCos world!\n");
  return 0;
}