summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/bindresvport.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* When system calls indicate an error they return -1, not some arbitraryderaadt2019-06-281-5/+5
| | | | | | value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
* Wrap <ifaddrs.h>, <netinet/in.h>, and <netinet/if_ether.h> so internalguenther2015-09-141-1/+3
| | | | calls go direct and all the symbols are weak
* Userland programs should include <errno.h> not <sys/errno.h>millert2005-12-211-2/+2
| | | | OK deraadt@
* ansify. ok deraadt@ jaredy@otto2005-04-011-7/+3
|
* this is all new code. copyright to downsj and myself who managed toderaadt2003-05-201-34/+22
| | | | erradicate the old stuff.
* use socklen_t where needed; henning pvalchev okderaadt2002-09-061-3/+3
|
* new bindresvport() semantics that itojun, shin, jean-luc and i have agreed on, which will be happy for the future. bindresvport_sa() for sockaddr *, too. docs later..deraadt2000-01-261-17/+21
|
* in bindresvport(), if sin is non-NULL, example sin->sin_family for the actual family being processedderaadt2000-01-241-2/+4
|
* set sa_len tooderaadt1999-12-171-1/+2
|
* rresvport_af() and bindresvport_af()deraadt1999-12-161-23/+52
|
* Remove dead codetholo1996-09-151-6/+4
| | | | | | Remove unused variables Silence some warnings lint(1) is your friend
* Fix RCS idstholo1996-08-191-7/+2
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* errno restore was reversed.downsj1996-07-301-3/+3
|
* if (beer-tonight) test-before-commit();deraadt1996-07-301-4/+6
|
* only reset port-range if modified initially; if needed call getsocknamederaadt1996-07-301-11/+23
|
* Reset port range if bind() fails.downsj1996-07-291-4/+20
|
* Use new bind() kernel semantics.downsj1996-07-291-22/+14
|
* bcopy->memcpy & tagderaadt1996-07-201-1/+2
|
* initial import of NetBSD treederaadt1995-10-181-0/+87