File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -3398,9 +3398,12 @@ 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, please refer to L<perlport> for examples.)
3404+
3405+ In list context, the return values from the various get routines
3406+ are as follows:
34043407
34053408 # 0 1 2 3 4
34063409 my ( $name, $passwd, $gid, $members ) = getgr*
Original file line number Diff line number Diff line change @@ -1782,6 +1782,12 @@ Not implemented.
17821782C<gethostbyname('localhost')> does not work everywhere: you may have
17831783to use C<gethostbyname('127.0.0.1')>.
17841784
1785+ (S<Win32>)
1786+ If the C<NAME> argument is an empty string (C<"">) or something that
1787+ coerces to it (such as C<undef>), the F<winsock.f> implementation treats
1788+ this as a C<gethostname> call and will return the standard hostname for
1789+ the local computer.
1790+
17851791=item gethostent
17861792
17871793(Win32)
You can’t perform that action at this time.
0 commit comments