Skip to content

Commit f60177e

Browse files
committed
perlfunc - warn of platform specific quirks in gethost* and co.
1 parent b40ae72 commit f60177e

File tree

1 file changed

+8
-3
lines changed

1 file changed

+8
-3
lines changed

pod/perlfunc.pod

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3398,9 +3398,14 @@ X<endnetent> X<endprotoent> X<endservent>
33983398

33993399
=for Pod::Functions be done using services file
34003400

3401-
These routines are the same as their counterparts in the
3402-
system C library. In list context, the return values from the
3403-
various get routines are as follows:
3401+
These routines are the same as their counterparts in the system
3402+
C library. This means that platform-specific quirks may be
3403+
encountered. (For example, C<gethostbyname(undef)> will fail on
3404+
a typical Linux system, but Windows will instead return the result
3405+
for C<gethostbyname(localhost)>.)
3406+
3407+
In list context, the return values from the various get routines
3408+
are as follows:
34043409

34053410
# 0 1 2 3 4
34063411
my ( $name, $passwd, $gid, $members ) = getgr*

0 commit comments

Comments
 (0)