OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [rtos/] [rtems/] [c/] [src/] [lib/] [libbsp/] [i386/] [ts_386ex/] [tools/] [network_ada/] [tcprelay/] [print_error.c] - Rev 30

Go to most recent revision | Compare with Previous | Blame | View Log

#include <stdio.h>
#include <string.h>
#include <errno.h>
 
void
print_error (void) {
  printf("Problem connecting socket: %s\n", strerror (errno));
}
 
void
dump_sin (unsigned char *dp) {
  int i;
 
  printf("Dump of sockaddr_in =\n");
  for(i=0; i<16; i++)
    printf("%x ", *dp++);
  printf("\n");
}
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.