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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [newlib-1.17.0/] [newlib/] [libc/] [sys/] [linux/] [psignal.c] - Blame information for rev 158

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

Line No. Rev Author Line
1 148 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.