Bug 206838 - connect(2): Clarify namelen
Summary: connect(2): Clarify namelen
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Books & Articles (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jason Helfman
URL:
Keywords: patch
Depends on:
Blocks:
 
Reported: 2016-02-02 09:02 UTC by Tobias Kortkamp
Modified: 2016-02-04 18:03 UTC (History)
1 user (show)

See Also:


Attachments
connect.2.diff (662 bytes, patch)
2016-02-02 09:02 UTC, Tobias Kortkamp
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Tobias Kortkamp freebsd_committer freebsd_triage 2016-02-02 09:02:47 UTC
Created attachment 166421 [details]
connect.2.diff

This is straight from OpenBSD's connect(2).  FreeBSD's version does not explain what namelen is and leaves you guessing.
Comment 1 commit-hook freebsd_committer freebsd_triage 2016-02-04 18:03:24 UTC
A commit references this bug:

Author: jgh
Date: Thu Feb  4 18:03:06 UTC 2016
New revision: 295272
URL: https://svnweb.freebsd.org/changeset/base/295272

Log:
  - connect(2) Clarify namelen

  PR:		206838
  Submitted by:	t@tobik.me
  Approved by:	bcr (mentor)
  MFH:		after 1 week
  Differential Revision:	https://reviews.freebsd.org/D5194

Changes:
  head/lib/libc/sys/connect.2
Comment 2 Jason Helfman freebsd_committer freebsd_triage 2016-02-04 18:03:40 UTC
Thanks for the report!