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
2424 "syscall"
2525 )
2626
27−// Get receives file descriptors over Unix domain socket.
27+// Get receives file descriptors from a Unix domain socket.
2828 //
2929 // Num specifies the expected number of file descriptors in one message.
3030 // 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
7575 return res, err
7676 }
7777
78−// Put file descriptors into Unix domain socket.
78+// Put sends file descriptors to Unix domain socket.
7979 //
8080 // Please note that the number of descriptors in one message is limited
8181 // 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