Definitions
Sorry, no definitions found. Check out and contribute to the discussion of this word!
Etymologies
Sorry, no etymologies found.
Support

Help support Wordnik (and make this page ad-free) by adopting the word perror.
Examples
-
Usage, as usual, is simple: int ret; ret = inotify_rm_watch (fd, wd); if (ret) perror ( "inotify_rm_watch");
Linux Journal - The Original Magazine of the Linux Community 2009
-
For example: int ret; ret = close (fd); if (ret) perror ( "close");
Linux Journal - The Original Magazine of the Linux Community 2009
-
I am assuming it is something like perror writing directly to stdscr and not telling ncurses what it is doing.
LinuxQuestions.org Gecopa 2009
-
* perror. sh6 - Print an error message for a command file.
-
FILE * fp, * fw; int c, char_per_line = 0; fp = fopen (a, "r"); if (fp = = NULL) {perror ( "Error opening such file exit (1);
DaniWeb IT Discussion Community Rmitboy 2010
-
EVP_CIPHER_CTX ctx; struct sockaddr_in serverAddress; struct sockaddr_in clientAddress; listenSocket = socket (AF_INET, SOCK_STREAM, 0); if (listenSocket = = -1) {perror ( "socket"); exit (1); socketOption = setsockopt (listenSocket, SOL_SOCKET, SO_REUSEADDR,
DaniWeb IT Discussion Community shahab.burki 2010
-
EVP_CIPHER_CTX ctx; struct sockaddr_in serverAddress; struct sockaddr_in clientAddress; listenSocket = socket (AF_INET, SOCK_STREAM, 0); if (listenSocket = = -1) {perror ( "socket"); exit (1); socketOption = setsockopt (listenSocket, SOL_SOCKET,
DaniWeb IT Discussion Community shahab.burki 2010
-
FD_ISSET (sockfd, & set)) {perror ( "FD_ISSET"); break; else {addr_len = sizeof sendaddr; if ((numbytes = recvfrom (sockfd, buf, sizeof buf, 0,
LinuxQuestions.org 2009
-
FD_ISSET (sockfd, & set)) {perror ( "FD_ISSET"); break; else {addr_len = sizeof sendaddr; if ((numbytes = recvfrom (sockfd, buf, sizeof buf, 0,
LinuxQuestions.org 2009
Comments
Log in or sign up to get involved in the conversation. It's quick and easy.