History

fix Get and Put descriptions

Serge Zirukin committed 13 years ago

Commit 0ced14f1 parent 143e5951 file · +2 −2Browse files

Unified · Split

fd.go+2−2
@@ -24,7 +24,7 @@ import ( · 23 unmodified lines
24 "syscall"24 "syscall"
25)25)
26 26
27// Get receives file descriptors over Unix domain socket.27// Get receives file descriptors from a Unix domain socket.
28//28//
29// Num specifies the expected number of file descriptors in one message.29// Num specifies the expected number of file descriptors in one message.
30// Internal files' names to be assigned are specified via optional filenames30// Internal files' names to be assigned are specified via optional filenames
@@ -75,7 +75,7 @@ func Get(via *net.UnixConn, num int, filenames []string) ([]*os.File, error) { · 44 unmodified lines
75 return res, err75 return res, err
76}76}
77 77
78// Put file descriptors into Unix domain socket.78// Put sends file descriptors to Unix domain socket.
79//79//
80// Please note that the number of descriptors in one message is limited80// Please note that the number of descriptors in one message is limited
81// and is rather small.81// and is rather small.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t