aboutsummaryrefslogtreecommitdiff
path: root/libiberty/functions.texi
AgeCommit message (Collapse)AuthorFilesLines
2005-06-21Index: include/ChangeLogGeoffrey Keating1-5/+52
2005-06-20 Geoffrey Keating <geoffk@apple.com> * libiberty.h (strverscmp): Prototype. Index: libiberty/ChangeLog 2005-06-20 Geoffrey Keating <geoffk@apple.com> * strverscmp.c: New. * Makefile.in (CFILES): Add strverscmp.c. (CONFIGURED_OFILES): Add strverscmp.o. (strverscmp.o): New rule. (stamp-functions): Add $(srcdir) to files in source directory. * configure.ac (funcs): Add strverscmp. (AC_CHECK_FUNCS): Add strverscmp. * configure: Regenerate. * functions.texi: Regenerate. From-SVN: r101226
2005-05-15ChangeLogAndreas Jaeger1-144/+158
From-SVN: r99736
2005-04-26libiberty.h (unlock_std_streams): New.Kaveh R. Ghazi1-10/+19
include: * libiberty.h (unlock_std_streams): New. libiberty: * fopen_unlocked.c (unlock_std_streams): New. * functions.texi: Regenerate. From-SVN: r98746
2005-04-16libiberty.h (unlock_stream): New.Kaveh R. Ghazi1-3/+12
include: * libiberty.h (unlock_stream): New. libiberty: * fopen_unlocked.c (unlock_stream): New. Consolidate unlocking code into a helper function. * functions.texi: Regenerate. From-SVN: r98234
2005-04-11libiberty.h (fopen_unlocked, [...]): Provide prototypes for new functions.Kaveh R. Ghazi1-0/+30
include: * libiberty.h (fopen_unlocked, fdopen_unlocked, freopen_unlocked): Provide prototypes for new functions. libiberty: * Makefile.in (CFILES): Add fopen_unlocked.c. (REQUIRED_OFILES): Add ./fopen_unlocked.o. Regenerate dependencies. * configure.ac: Check for stdio_ext.h and __fsetlocking. * fopen_unlocked.c: New file. * functions.texi, configure, config.in: Regenerate. From-SVN: r97977
2005-03-31gettimeofday.c: Add "Supplemental" to @deftypefn.Joseph Myers1-1/+1
* gettimeofday.c: Add "Supplemental" to @deftypefn. * functions.texi: Regenerate. From-SVN: r97331
2005-03-29pex-common.c: New file.Ian Lance Taylor1-61/+197
libiberty: * pex-common.c: New file. * pex-one.c: New file. * pexecute.c: New file. * pex-common.h: Include <stdio.h>. (struct pex_obj): Define. (struct pex_funcs): Define. (pex_init_common): Declare. * pex-unix.c: Rewrite. * pex-win32.c: Rewrite. * pex-djgpp.c: Rewrite. * pex-msdos.c: Rewrite. * testsuite/text-pexecute.c: New file. * pexecute.txh: Rewrite. * configure.ac: Check for wait3 and wait4. Set CHECK to really-check rather than check-cplus-dem. * functions.texi: Rebuild. * Makefile.in: Rebuild dependencies. (CFILES): Add pexecute.c, pex-common.c, pex-one.c. (REQUIRED_OFILES): Add pexecute.o, pex-common.o, pex-one.o. * testsuite/Makefile.in (really-check): New target. (check-pexecute, test-pexecute): New targets. * configure: Rebuild. include: * libiberty.h: Include <stdio.h>. (PEX_RECORD_TIMES, PEX_USE_PIPES, PEX_SAVE_TEMPS): Define. (PEX_LAST, PEX_SEARCH, PEX_SUFFIX, PEX_STDERR_TO_STDOUT): Define. (PEX_BINARY_INPUT, PEX_BINARY_OUTPUT): Define. (pex_init, pex_run, pex_read_output): Declare. (pex_get_status, pex_get_times, pex_free, pex_one): Declare. (struct pex_time): Define. From-SVN: r97148
2005-03-25libiberty.h (xstrndup): Declare.Kaveh R. Ghazi1-0/+36
include: * libiberty.h (xstrndup): Declare. libiberty: * Makefile.in (CFILES): Add strndup.c and xstrndup.c. (REQUIRED_OFILES): Add xstrndup.o. (CONFIGURED_OFILES): Add strndup.o. Regenerate dependencies. * configure.ac (funcs, AC_CHECK_FUNCS): Add strndup. * strndup.c, xstrndup.c: New. * config.in, configure, functions.texi: Regenerate. From-SVN: r97034
2005-01-11hex.c (hex_value): Group 'unsigned int' together to get correct markup.Tobias Schlüter1-11/+11
* hex.c (hex_value): Group 'unsigned int' together to get correct markup. * functions.texi: Regenerated. From-SVN: r93196
2003-06-22safe-ctype.h (HC_UNKNOWN, [...]): Rename to HOST_CHARSET_UNKNOWN...Zack Weinberg1-3/+97
include: * safe-ctype.h (HC_UNKNOWN, HC_ASCII, HC_EBCDIC): Rename to HOST_CHARSET_UNKNOWN, HOST_CHARSET_ASCII, HOST_CHARSET_EBCDIC respectively. libiberty: * safe-ctype.c: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. Add documentation in form expected by gather-docs. * hex.c: Use HOST_CHARSET, not hand-coded check of character set. * Makefile.in, functions.texi: Regenerate. gcc: * config/i370/i370.c, config/i370/i370.h: Use HOST_CHARSET_ASCII and HOST_CHARSET_EBCDIC, not HC_ASCII and HC_EBCDIC. From-SVN: r68335
2003-06-03asprintf.c: Change comment to note that -1 is returned upon error.Nick Clifton1-2/+2
vasprintf.c: Likewise. (vasprintf): Return -1 upon error. functions.texi: Document changes to asprintf and vasprintf. From-SVN: r67395
2003-05-15hex.c (_hex_value): Make this unsigned.Jim Blandy1-1/+7
libiberty/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * hex.c (_hex_value): Make this unsigned. (hex_value): Update documentation for new return type. hex_value now expands to an unsigned int expression, to avoid unexpected sign extension when we store it in a bfd_vma, which is larger than int on some platforms. * functions.texi: Regenerated. include/ChangeLog: 2003-05-14 Jim Blandy <jimb@redhat.com> * libiberty.h (hex_value): Make the value an unsigned int, to avoid unexpected sign-extension when cast to unsigned types larger than int --- like bfd_vma, on some platforms. (_hex_value): Update declaration. From-SVN: r66840
2003-04-16configure.in (funcs, [...]): Add snprintf and vsnprintf.Kaveh R. Ghazi1-0/+26
* configure.in (funcs, AC_CHECK_FUNCS): Add snprintf and vsnprintf. * snprintf.c, vsnprintf.c: New files. * Makefile.in (CFILES): Add snprintf.c and vsnprintf.c. (CONFIGURED_OFILES): Add snprintf.o and vsnprintf.o. Regenerate dependencies. * functions.texi, configure, config.in: Regenerated. From-SVN: r65704
2003-04-16mempcpy.c, [...]: New files.Kaveh R. Ghazi1-1/+27
* mempcpy.c, stpcpy.c, stpncpy.c: New files. * configure.in (funcs, AC_CHECK_FUNCS): Add mempcpy, stpcpy and stpncpy. * Makefile.in (CFILES): Add mempcpy.c, stpcpy.c and stpncpy.c. (CONFIGURED_OFILES): Add mempcpy.o, stpcpy.o and stpncpy.o. Regenerate dependencies. * functions.texi, configure, config.in: Regenerated. From-SVN: r65674
2003-02-20Makefile.in (CFILES): Add lrealpath.c.Daniel Jacobowitz1-10/+29
* Makefile.in (CFILES): Add lrealpath.c. (REQUIRED_OFILES): Add lrealpath.o. (lrealpath.o): Add rule. * aclocal.m4 (libiberty_NEED_DECLARATION): Add. * configure.in: Add realpath and canonicalize_file_name to checkfuncs and AC_CHECK_FUNCS. Use libiberty_NEED_DECLARATION for canonicalize_file_name. * lrealpath.c: New file. * make-relative-prefix.c: Update documentation. (make_relative_prefix): Simplify. Use lbasename and lrealpath. * config.in: Regenerated. * configure: Regenerated. * functions.texi: Regenerated. From-SVN: r63186
2003-01-24Makefile.in (CFILES): Add pex-*.c.Zack Weinberg1-15/+18
* Makefile.in (CFILES): Add pex-*.c. (REQUIRED_OFILES): Change pexecute.o to @pexecute@ (CONFIGURED_OFILES): Add pex-*.o. (TEXIFILES): Add pexecute.txh. (pexecute.o): Delete rule. (pex-cygwin.o, pex-djgpp.o, pex-mpw.o, pex-msdos.o, pex-os2.o, pex-unix.o, pex-win32.o): New rules. * configure.in: Change AC_INIT argument to xmalloc.c. Compute appropriate pexecute implementation and substitute it as @pexecute@. * pexecute.c: Split up into... * pex-cygwin.c, pex-djgpp.c, pex-mpw.c, pex-msdos.c, pex-os2.c, pex-unix.c, pex-win32.c, pex-common.h, pexecute.txh: ... these new files. * functions.texi: Regenerate. * configure: Regenerate. From-SVN: r61728
2002-11-22libiberty.h (make_relative_prefix): Add prototype.Daniel Jacobowitz1-4/+21
include/ * libiberty.h (make_relative_prefix): Add prototype. libiberty/ * Makefile.in: Add make-relative-prefix.c. * make-relative-prefix.c: New file. * functions.texi: Rebuilt. gcc/ * gcc.c (make_relative_prefix, split_directories) (free_split_directories): Removed. From-SVN: r59385
2002-03-27hex.c: Add documentation.DJ Delorie1-0/+28
* hex.c: Add documentation. (_hex_value): Provide non-ASCII empty table. (hex_init): Initialize the non-ASCII table. * functions.texi: Regenerate. From-SVN: r51496
2001-10-17argv.c, [...]: Improve manual formatting.DJ Delorie1-28/+28
* argv.c, asprintf.c, choose-temp.c, concat.c, cplus-dem.c, ffs.c, fnmatch.txh, getruntime.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, strsitnal.c, vasprintf.c: Improve manual formatting. * functions.texi: Regenerate. From-SVN: r46323
2001-10-15Makefile.in (TEXIFILES): Add fnmatch.txh.DJ Delorie1-7/+428
* Makefile.in (TEXIFILES): Add fnmatch.txh. (maint-undoc): New. maint-tool: Add "undoc" tool. * alloca.c, argv.c, asprintf.c, choose-temp.c, concat.c, fdmatch.c, ffs.c, getruntime.c, insque.c, lbasename.c, make-temp-file.c, mkstemps.c, pexecute.c, random.c, spaces.c, strerror.s, strsignal.c, strtol.c, vasprintf.c: Add or update documentation. * fnmatch.txh: New. * functions.texi: Regenerate. From-SVN: r46274
2001-10-10bcmp.c, setenv.c: Use "nonzero" instead of "non-zero".Joseph Myers1-4/+4
* bcmp.c, setenv.c: Use "nonzero" instead of "non-zero". * strtod.c: Use "ISO C" instead of "ANSI C". * functions.texi: Regenerate. From-SVN: r46136
2001-10-07alloca.c, [...]: Improve manual formatting.Joseph Myers1-29/+29
* alloca.c, clock.c, getcwd.c, getpagesize.c, getpwd.c, index.c, libiberty.texi, memchr.c, putenv.c, rindex.c, strchr.c, strdup.c, strerror.c, strrchr.c, strstr.c, strtod.c, tmpnam.c, vfork.c, xatexit.c, xmalloc.c, xstrerror.c: Improve manual formatting. Fix spelling. Give names to function arguments in documentation. Use (void) prototypes in documentation. * functions.texi: Regenerate. From-SVN: r46068
2001-09-27libiberty.texi: (Top level): Add syncodeindex pg.Eli Zaretskii1-19/+20
* libiberty.texi: (Top level): Add syncodeindex pg. Add @dircategory and @direntry directives. Add @finalout. (many nodes): Lose the next,prev,up pointers on the @nide line. (Using, Supplemental Functions, Replacement Functions): Fix markup. (Functions): Move around, to allow makeinfo to build the manual without next,prev,up pointers in thye node lines. (Licenses): Fix typos. * index.c, rindex.c, strchr.c, strerror.c, strrchr.c, strstr.c, strtol.c, xatexit.c, xexit.c, xmalloc.c: Fix spelling and markup. * functions.texi: Regenerate. * copying-lib.texi: Lose the next,prev,up pointers on the @node line. From-SVN: r45847
2001-09-27configure.in: Don't use in-tree texinfo, because libiberty must be built ↵DJ Delorie1-2/+2
before it. * configure.in: Don't use in-tree texinfo, because libiberty must be built before it. Check for makeinfo version 4 or higher. * functions.texi: Regenerate. From-SVN: r45846
2001-09-26configure.in (MAKEINFO, PERL): Detect these.DJ Delorie1-0/+515
* configure.in (MAKEINFO, PERL): Detect these. (--enable-maintainer-mode): Add. * configure: Regenerate. * Makefile.in (MAKEINFO, PERL): Define. (libiberty.info, libiberty.dvi, libiberty.html): New. (CFILES): Add bsearch.c. (CONFIGURED_OFILES): New, list of objects configure might add. (maint-missing, maint-buildall): New, for maintainers only. (clean, mostlyclean): Add info/dvi/html files. * libiberty.texi, copying-lib.texi, obstacks.texi, functions.texi: New. * gather-docs: New, for maintainers. * maint-tool: New, for maintainers. * alloca.c, atexit.c, basename.c, bcmp.c, bcopy.c, bsearch.c, bzero.c, calloc.c, clock.c, configure.in, configure, getcwd.c, getpagesize.c, getpwd.c, index.c, memchr.c, memcmp.c, memcpy.c, memmove.c, memset.c, putenv.c, rename.c, rindex.c, setenv.c, sigsetmask.c, strcasecmp.c, strchr.c, strdup.c, strerror.c, strncasecmp.c, strncmp.c, strrchr.c, strstr.c, strtod.c, strtol.c, tmpnam.c, vfork.c, vprintf.c, waitpid.c, xatexit.c, xexit.c, xmalloc.c, xmemdup.c, xstrdup.c, xstrerror.c: Add or update documentation. Co-Authored-By: Phil Edwards <pedwards@disaster.jaj.com> From-SVN: r45828