Unix and Linux Discussions Tagged with bind |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
1 |
1,805 |
UNIX for Beginners Questions & Answers |
|
|
|
3 |
10,583 |
AIX |
|
|
|
2 |
4,083 |
UNIX for Beginners Questions & Answers |
|
|
|
2 |
3,755 |
UNIX for Beginners Questions & Answers |
|
|
|
30 |
6,617 |
Shell Programming and Scripting |
|
|
|
5 |
8,259 |
Linux |
|
|
|
0 |
1,737 |
Red Hat |
|
|
|
4 |
14,444 |
Emergency UNIX and Linux Support |
|
|
|
4 |
4,538 |
Ubuntu |
|
|
|
4 |
4,651 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
1,948 |
Programming |
|
|
|
33 |
9,355 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,053 |
Solaris |
|
|
|
2 |
4,541 |
Red Hat |
|
|
|
2 |
5,799 |
IP Networking |
|
|
|
2 |
8,987 |
Shell Programming and Scripting |
|
|
|
5 |
8,484 |
Programming |
|
|
|
1 |
3,610 |
Shell Programming and Scripting |
|
|
|
6 |
16,755 |
Solaris |
|
|
|
0 |
1,086 |
Security Advisories (RSS) |
|
|
|
0 |
942 |
Security Advisories (RSS) |
|
|
|
2 |
7,990 |
Shell Programming and Scripting |
|
|
|
0 |
1,209 |
Software Releases - RSS News |
|
|
|
6 |
6,471 |
Solaris |
|
|
|
5 |
7,254 |
Solaris |
|
|
|
5 |
30,175 |
IP Networking |
|
|
|
3 |
5,354 |
UNIX and Linux Applications |
|
|
|
2 |
5,132 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
4,997 |
Linux |
|
|
|
0 |
1,787 |
Security Advisories (RSS) |
|
|
|
0 |
1,465 |
Security Advisories (RSS) |
|
|
|
0 |
1,693 |
Security Advisories (RSS) |
|
|
|
0 |
4,442 |
UNIX for Dummies Questions & Answers |
|
|
|
0 |
1,042 |
Software Releases - RSS News |
|
|
|
1 |
5,054 |
Linux |
|
|
|
4 |
14,503 |
Shell Programming and Scripting |
|
|
|
0 |
1,052 |
Software Releases - RSS News |
|
|
|
0 |
1,099 |
Security Advisories (RSS) |
|
|
|
1 |
9,228 |
Solaris |
|
|
|
5 |
11,299 |
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)