annotate modules/gethostname @ 14675:d214c42cc3fe

exit: drop remaining clients Anyone using EXIT_FAILURE needs to depend on stdlib, now that the exit module is gone. * modules/argmatch (Depends-on): Replace exit with stdlib. * modules/copy-file (Depends-on): Likewise. * modules/execute (Depends-on): Likewise. * modules/exitfail (Depends-on): Likewise. * modules/obstack (Depends-on): Likewise. * modules/pagealign_alloc (Depends-on): Likewise. * modules/pipe-filter-gi (Depends-on): Likewise. * modules/pipe-filter-ii (Depends-on): Likewise. * modules/savewd (Depends-on): Likewise. * modules/spawn-pipe (Depends-on): Likewise. * modules/wait-process (Depends-on): Likewise. * modules/xsetenv (Depends-on): Likewise. * modules/chdir-long (Depends-on): Add stdlib, for EXIT_FAILURE. * modules/git-merge-changelog (Depends-on): Likewise. * modules/long-options (Depends-on): Likewise. * modules/pt_chown (Depends-on): Likewise. * modules/sysexits (Depends-on): Likewise. Signed-off-by: Eric Blake <eblake@redhat.com>
author Eric Blake <eblake@redhat.com>
date Mon, 02 May 2011 11:59:00 -0600
parents 4b822ff432cf
children efab6978105e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
4172
5321105558d8 Add module descriptions.
Bruno Haible <bruno@clisp.org>
parents: 4110
diff changeset
2 gethostname() function: Return machine's hostname.
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4 Files:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 lib/gethostname.c
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 m4/gethostname.m4
11751
8153fe87d193 Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents: 10731
diff changeset
7 lib/w32sock.h
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
10692
b867b19bccb3 Add gethostname() declaration to <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
10 unistd
11751
8153fe87d193 Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents: 10731
diff changeset
11 sys_socket
8153fe87d193 Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents: 10731
diff changeset
12 errno
11765
4b822ff432cf Implicitly initialize the sockets library.
Bruno Haible <bruno@clisp.org>
parents: 11751
diff changeset
13 sockets
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 configure.ac:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16 gl_FUNC_GETHOSTNAME
10692
b867b19bccb3 Add gethostname() declaration to <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
17 gl_UNISTD_MODULE_INDICATOR([gethostname])
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19 Makefile.am:
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 Include:
10692
b867b19bccb3 Add gethostname() declaration to <unistd.h>.
Bruno Haible <bruno@clisp.org>
parents: 7497
diff changeset
22 <unistd.h>
4110
632b6cf5063f Module description.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23
11751
8153fe87d193 Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents: 10731
diff changeset
24 Link:
8153fe87d193 Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents: 10731
diff changeset
25 $(GETHOSTNAME_LIB)
8153fe87d193 Implement gethostname correctly for native Windows.
Simon Josefsson <simon@josefsson.org>
parents: 10731
diff changeset
26
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4197
diff changeset
27 License:
10731
98ea7b28018f * modules/gethostname (License): Relicense: LGPL -> LGPLv2+.
Jim Meyering <meyering@redhat.com>
parents: 10716
diff changeset
28 LGPLv2+
5251
42b53a22aee5 Add a license tag to every module.
Bruno Haible <bruno@clisp.org>
parents: 4197
diff changeset
29
4197
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
30 Maintainer:
3ccc6d0d52bb Add a Maintainer.
Bruno Haible <bruno@clisp.org>
parents: 4172
diff changeset
31 all