rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5b8339edf6
commit
840e6c70e8
@ -369,7 +369,11 @@ bsock_getpeername(VALUE sock)
|
|||||||
* The result is a two element array which contains the effective uid and the effective gid.
|
* The result is a two element array which contains the effective uid and the effective gid.
|
||||||
*
|
*
|
||||||
* Socket.unix_server_loop("/tmp/sock") {|s|
|
* Socket.unix_server_loop("/tmp/sock") {|s|
|
||||||
|
* begin
|
||||||
* p s.getpeereid #=> [1000, 1000]
|
* p s.getpeereid #=> [1000, 1000]
|
||||||
|
* ensure
|
||||||
|
* s.close
|
||||||
|
* end
|
||||||
* }
|
* }
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user