Eine aufbereitete Darstellung der Quelle

 
     
 
 
 
Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung


Quelle  mystrerror.c   Sprache: C

 

/*++
/* NAME
/* mystrerror 3
/* SUMMARY
/* convert error number to string
/* SYNOPSIS
/* #include <stringops.h>
/*
/* const char *mystrerror()
/* int errnum)
/* DESCRIPTION
/* mystrerror() maps an error number to string. Unlike strerror(3)
/* it returns "Application error" instead of "Success".
/* LICENSE
/* .ad
/* .fi
/* The Secure Mailer license must be distributed with this software.
/* AUTHOR(S)
/* Wietse Venema
/* porcupine.org
/*--*/


 /*
  * System library.
  */

#include <sys_defs.h>
#include <string.h>

 /*
  * Utility library.
  */

#include <stringops.h>

/* mystrerror - convert error number to string */

const char *mystrerror(int errnum)
{
    return (errnum ? strerror(errnum) : "Application error");
}

Messung
CHZG
1009710098

¤ Dauer der Verarbeitung: 0.11 Sekunden  ¤

*© Formatika GbR, Deutschland







                                                                                                                                                                                                                                                                                                                                                                                                     

 

Neuigkeiten

Aktuelles
Motto des Tages

Open Source Software


Gedichte
Musik
Bilder

Jenseits des Üblichen

Besucherstatistik

Besucherstatistik

Statistik
#Sources=1,187,974
#Domains=976,171