summaryrefslogtreecommitdiff
path: root/ext/socket
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-14 11:35:50 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-05-14 11:35:50 +0000
commitb6decf289fb90e579733ed29571f0870c7a7c169 (patch)
tree8e38ac366820362552f9fd78647d2568f1ce64c2 /ext/socket
parentc7d7ff45f1e0d6fad28e53c02108d4b067e843c3 (diff)
Update doc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@40735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/socket')
-rw-r--r--ext/socket/ifaddr.c36
1 files changed, 18 insertions, 18 deletions
diff --git a/ext/socket/ifaddr.c b/ext/socket/ifaddr.c
index 64aaf5a..446fe20 100644
--- a/ext/socket/ifaddr.c
+++ b/ext/socket/ifaddr.c
@@ -115,9 +115,9 @@ rsock_getifaddrs(void)
/*
* call-seq:
- * getifaddr.name => string
+ * ifaddr.name => string
*
- * Returns the interface name of _getifaddr_.
+ * Returns the interface name of _ifaddr_.
*/
static VALUE
@@ -130,9 +130,9 @@ ifaddr_name(VALUE self)
/*
* call-seq:
- * getifaddr.ifindex => integer
+ * ifaddr.ifindex => integer
*
- * Returns the interface index of _getifaddr_.
+ * Returns the interface index of _ifaddr_.
*/
static VALUE
@@ -149,9 +149,9 @@ ifaddr_ifindex(VALUE self)
/*
* call-seq:
- * getifaddr.flags => integer
+ * ifaddr.flags => integer
*
- * Returns the flags of _getifaddr_.
+ * Returns the flags of _ifaddr_.
*/
static VALUE
@@ -164,10 +164,10 @@ ifaddr_flags(VALUE self)
/*
* call-seq:
- * getifaddr.addr => addrinfo
+ * ifaddr.addr => addrinfo
*
- * Returns the address of _getifaddr_.
- * nil is returned if address is not available in _getifaddr_.
+ * Returns the address of _ifaddr_.
+ * nil is returned if address is not available in _ifaddr_.
*/
static VALUE
@@ -182,10 +182,10 @@ ifaddr_addr(VALUE self)
/*
* call-seq:
- * getifaddr.netmask => addrinfo
+ * ifaddr.netmask => addrinfo
*
- * Returns the netmask address of _getifaddr_.
- * nil is returned if netmask is not available in _getifaddr_.
+ * Returns the netmask address of _ifaddr_.
+ * nil is returned if netmask is not available in _ifaddr_.
*/
static VALUE
@@ -200,9 +200,9 @@ ifaddr_netmask(VALUE self)
/*
* call-seq:
- * getifaddr.broadaddr => addrinfo
+ * ifaddr.broadaddr => addrinfo
*
- * Returns the broadcast address of _getifaddr_.
+ * Returns the broadcast address of _ifaddr_.
* nil is returned if the flags doesn't have IFF_BROADCAST.
*/
@@ -218,9 +218,9 @@ ifaddr_broadaddr(VALUE self)
/*
* call-seq:
- * getifaddr.dstaddr => addrinfo
+ * ifaddr.dstaddr => addrinfo
*
- * Returns the destination address of _getifaddr_.
+ * Returns the destination address of _ifaddr_.
* nil is returned if the flags doesn't have IFF_POINTOPOINT.
*/
@@ -305,9 +305,9 @@ ifaddr_inspect_flags(unsigned int flags, VALUE result)
/*
* call-seq:
- * getifaddr.inspect => string
+ * ifaddr.inspect => string
*
- * Returns a string to show contents of _getifaddr_.
+ * Returns a string to show contents of _ifaddr_.
*/
static VALUE