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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [linux/] [psignal.c] - Blame information for rev 258

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

Line No. Rev Author Line
1 207 jeremybenn
/* libc/sys/linux/psignal.c - print signal message to stderr */
2
 
3
/* Copyright 2002, Red Hat Inc. */
4
 
5
#include <stdio.h>
6
#include <string.h>
7
 
8
void
9
psignal (int sig, const char *s)
10
{
11
  if (s != NULL)
12
    fprintf (stderr, "%s: %s\n", s, strsignal (sig));
13
  else
14
    fprintf (stderr, "%s\n", strsignal (sig));
15
}

powered by: WebSVN 2.1.0

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