<span class="latin" style="width:19px;height:19px;">G</span><span class="latin" style="width:19px;height:19px;">D</span><span class="latin" style="width:19px;height:19px;">N</span><span class="latin" style="width:19px;height:19px;">:</span><span class="latin" style="width:19px;height:19px;">p</span><span class="latin" style="width:19px;height:19px;">e</span><span class="latin" style="width:19px;height:19px;">r</span><span class="latin" style="width:19px;height:19px;">r</span><span class="latin" style="width:19px;height:19px;">o</span><span class="latin" style="width:19px;height:19px;">r</span><span class="latin" style="display:block;width:19px;height:19px;"> </span><span class="latin" style="width:19px;height:19px;">-</span><span class="latin" style="display:block;width:19px;height:19px;"> </span><span class="latin" style="width:19px;height:19px;">L</span><span class="latin" style="width:19px;height:19px;">i</span><span class="latin" style="width:19px;height:19px;">b</span><span class="latin" style="width:19px;height:19px;">r</span><span class="latin" style="width:19px;height:19px;">e</span><span class="latin" style="width:19px;height:19px;">P</span><span class="latin" style="width:19px;height:19px;">l</span><span class="latin" style="width:19px;height:19px;">a</span><span class="latin" style="width:19px;height:19px;">n</span><span class="latin" style="width:19px;height:19px;">e</span><span class="latin" style="width:19px;height:19px;">t</span>  

Navigation menu




LibrePlanet


About 
About LibrePlanet
Mission Statement
Founding documents
Support this Community
Code of Conduct
Anti-harassment policy
Teams 
Activists
Wiki Helpers
LibrePlanet Artists
FSF Community Team
Local & Student Teams
Conferences 
LibrePlanet Conference
Non-official
Get involved 
Participate
Discussion channels
Events
 


Login
 










GDN:perror

 

From LibrePlanet


Jump to: navigation, search  


The function perror prints an error message to the stream stderr. The orientation of stderr is not changed.

If you call perror with a message that is either a null pointer or an empty string, perror just prints the error message corresponding to errno, adding a trailing newline.

If you supply a non-null message argument, then perror prefixes its output with this string. It adds a colon and a space character to seperate the message from the error string correspond to errno.

Contents

Prototype

<source lang="c">void perror (const char *message)</source>

GDN:perror
Header stdio.h
Retrieved from "https://libreplanet.org/wiki?title=GDN:perror&oldid=34087" 



















FSF
The Free Software Foundation (FSF) is a nonprofit with a worldwide mission to promote computer user freedom.

We defend the rights of all software users. (Read more)
 



Campaigns


High Priority Free Software Projects

Free JavaScript

Secure Boot vs Restricted Boot

GNU Operating System

Defective by Design

See all campaigns
 



Get Involved



Contact
 




Send your feedback on our translations and new translations of pages to campaigns@fsf.org.

Copyright © 20132023 Free Software Foundation, Inc.  Privacy Policy, JavaScript license information