annotate modules/fd-safer-flag @ 16280:5c08684c856f

New module 'random'. * lib/stdlib.in.h (random, srandom, initstate, setstate): New declarations. * lib/random.c: New file, based on glibc/stdlib/random.c. * m4/random.m4: New file. * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_RANDOM, HAVE_RANDOM. * modules/stdlib (Makefile.am): Substitute GNULIB_RANDOM, HAVE_RANDOM. * modules/random: New file. * config/srclist.txt: Add an entry for random.c. * doc/posix-functions/random.texi: Mention the 'random' module. * doc/posix-functions/initstate.texi: Likewise. * doc/posix-functions/setstate.texi: Likewise. * doc/posix-functions/srandom.texi: Likewise.
author Bruno Haible <bruno@clisp.org>
date Sat, 14 Jan 2012 15:15:28 +0100
parents 2a3833485e1c
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12432
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
1 Description:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
2 fd_safer_flag() function: adjust a file descriptor result so that it avoids
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
3 clobbering STD{IN,OUT,ERR}_FILENO, with specific flags.
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
4
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
5 Files:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
6 lib/fd-safer-flag.c
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
7 lib/dup-safer-flag.c
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
8
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
9 Depends-on:
12457
2a3833485e1c fcntl: use to simplify other modules
Eric Blake <ebb9@byu.net>
parents: 12432
diff changeset
10 cloexec
2a3833485e1c fcntl: use to simplify other modules
Eric Blake <ebb9@byu.net>
parents: 12432
diff changeset
11 fcntl
12432
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
12 unistd-safer
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
13
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
14 configure.ac:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
15 gl_MODULE_INDICATOR([fd-safer-flag])
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
16
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
17 Makefile.am:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
18 lib_SOURCES += fd-safer-flag.c dup-safer-flag.c
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
19
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
20 Include:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
21 "unistd-safer.h"
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
22
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
23 License:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
24 GPL
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
25
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
26 Maintainer:
0759131e0d13 New module 'fd-safer-flag'.
Bruno Haible <bruno@clisp.org>
parents:
diff changeset
27 Eric Blake