Unix and Linux Discussions Tagged with bind |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
1,809 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
10,638 |
AIX |
|
|
|
2 |
4,104 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,765 |
UNIX for Beginners Questions & Answers |
|
|
|
30 |
6,644 |
Shell Programming and Scripting |
|
|
|
5 |
8,279 |
Linux |
|
|
|
0 |
1,747 |
Red Hat |
|
|
|
4 |
14,461 |
Emergency UNIX and Linux Support |
|
|
|
4 |
4,559 |
Ubuntu |
|
|
|
4 |
4,654 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,949 |
Programming |
|
|
|
33 |
9,380 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,061 |
Solaris |
|
|
|
2 |
4,546 |
Red Hat |
|
|
|
2 |
5,806 |
IP Networking |
|
|
|
2 |
8,994 |
Shell Programming and Scripting |
|
|
|
5 |
8,490 |
Programming |
|
|
|
1 |
3,615 |
Shell Programming and Scripting |
|
|
|
6 |
16,757 |
Solaris |
|
|
|
0 |
1,088 |
Security Advisories (RSS) |
|
|
|
0 |
945 |
Security Advisories (RSS) |
|
|
|
2 |
7,995 |
Shell Programming and Scripting |
|
|
|
0 |
1,211 |
Software Releases - RSS News |
|
|
|
6 |
6,474 |
Solaris |
|
|
|
5 |
7,258 |
Solaris |
|
|
|
5 |
30,183 |
IP Networking |
|
|
|
3 |
5,359 |
UNIX and Linux Applications |
|
|
|
2 |
5,136 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,999 |
Linux |
|
|
|
0 |
1,788 |
Security Advisories (RSS) |
|
|
|
0 |
1,468 |
Security Advisories (RSS) |
|
|
|
0 |
1,695 |
Security Advisories (RSS) |
|
|
|
0 |
4,450 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,044 |
Software Releases - RSS News |
|
|
|
1 |
5,057 |
Linux |
|
|
|
4 |
14,505 |
Shell Programming and Scripting |
|
|
|
0 |
1,053 |
Software Releases - RSS News |
|
|
|
0 |
1,103 |
Security Advisories (RSS) |
|
|
|
1 |
9,231 |
Solaris |
|
|
|
5 |
11,301 |
UNIX for Advanced & Expert Users |
explain_bind_or_die(3) Library Functions Manual explain_bind_or_die(3)
NAME
explain_bind_or_die - bind a name to a socket and report errors
SYNOPSIS
#include <libexplain/bind.h>
void explain_bind_or_die(int fildes, const struct sockaddr *sock_addr, int sock_addr_size);
DESCRIPTION
The explain_bind_or_die function is used to call the bind(2) system call. On failure an explanation will be printed to stderr, obtained
from explain_bind(3), and then the process terminates by calling exit(EXIT_FAILURE).
This function is intended to be used in a fashion similar to the following example:
explain_bind_or_die(fildes, sock_addr, sock_addr_size);
fildes The fildes, exactly as to be passed to the bind(2) system call.
sock_addr
The sock_addr, exactly as to be passed to the bind(2) system call.
sock_addr_size
The sock_addr_size, exactly as to be passed to the bind(2) system call.
Returns:
This function only returns on success. On failure, prints an explanation and exits.
SEE ALSO
bind(2) bind a name to a socket
explain_bind(3)
explain bind(2) errors
exit(2) terminate the calling process
COPYRIGHT
libexplain version 0.52
Copyright (C) 2008 Peter Miller
explain_bind_or_die(3)