Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/libiberty/functions.texi

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    277277@end deftypefn
    278278
    279 @c getruntime.c:78
     279@c getruntime.c:82
    280280@deftypefn Replacement long get_run_time (void)
    281281
     
    318318@end deftypefn
    319319
     320@c hex.c:25
     321@deftypefn Extension void hex_init (void)
     322
     323Initializes the array mapping the current character set to
     324corresponding hex values.  This function must be called before any
     325call to @code{hex_p} or @code{hex_value}.  If you fail to call it, a
     326default ASCII-based table will normally be used on ASCII systems.
     327
     328@end deftypefn
     329
     330@c hex.c:34
     331@deftypefn Extension int hex_p (int @var{c})
     332
     333Evaluates to non-zero if the given character is a valid hex character,
     334or zero if it is not.  Note that the value you pass will be cast to
     335@code{unsigned char} within the macro.
     336
     337@end deftypefn
     338
     339@c hex.c:42
     340@deftypefn Extension int hex_value (int @var{c})
     341
     342Returns the numeric equivalent of the given character when interpreted
     343as a hexidecimal digit.  The result is undefined if you pass an
     344invalid hex digit.  Note that the value you pass will be cast to
     345@code{unsigned char} within the macro.
     346
     347@end deftypefn
     348
    320349@c index.c:5
    321350@deftypefn Supplemental char* index (char *@var{s}, int @var{c})
     
    361390In particular, the empty string returns the same empty string,
    362391and a path ending in @code{/} returns the empty string after it.
     392
     393@end deftypefn
     394
     395@c make-relative-prefix.c:24
     396@deftypefn Extension {const char*} make_relative_prefix (const char *@var{progname}, const char *@var{bin_prefix}, const char *@var{prefix})
     397
     398Given three strings @var{progname}, @var{bin_prefix}, @var{prefix}, return a string
     399that gets to @var{prefix} starting with the directory portion of @var{progname} and
     400a relative pathname of the difference between @var{bin_prefix} and @var{prefix}.
     401
     402For example, if @var{bin_prefix} is @code{/alpha/beta/gamma/gcc/delta}, @var{prefix}
     403is @code{/alpha/beta/gamma/omega/}, and @var{progname} is @code{/red/green/blue/gcc},
     404then this function will return @code{/red/green/blue/../../omega/}.
     405
     406The return value is normally allocated via @code{malloc}.  If no relative prefix
     407can be found, return @code{NULL}.
     408
     409@end deftypefn
     410
     411@c lrealpath.c:25
     412@deftypefn Replacement {const char*} lrealpath (const char *@var{name})
     413
     414Given a pointer to a string containing a pathname, returns a canonical
     415version of the filename.  Symlinks will be resolved, and ``.'' and ``..''
     416components will be simplified.  The returned value will be allocated using
     417@code{malloc}, or @code{NULL} will be returned on a memory allocation error.
     418
     419@end deftypefn
     420
     421@c make-relative-prefix.c:24
     422@deftypefn Extension {const char*} make_relative_prefix (const char *@var{progname}, const char *@var{bin_prefix}, const char *@var{prefix})
     423
     424Given three paths @var{progname}, @var{bin_prefix}, @var{prefix},
     425return the path that is in the same position relative to
     426@var{progname}'s directory as @var{prefix} is relative to
     427@var{bin_prefix}.  That is, a string starting with the directory
     428portion of @var{progname}, followed by a relative pathname of the
     429difference between @var{bin_prefix} and @var{prefix}.
     430
     431If @var{progname} does not contain any directory separators,
     432@code{make_relative_prefix} will search @env{PATH} to find a program
     433named @var{progname}.  Also, if @var{progname} is a symbolic link,
     434the symbolic link will be resolved.
     435
     436For example, if @var{bin_prefix} is @code{/alpha/beta/gamma/gcc/delta},
     437@var{prefix} is @code{/alpha/beta/gamma/omega/}, and @var{progname} is
     438@code{/red/green/blue/gcc}, then this function will return
     439@code{/red/green/blue/../../omega/}.
     440
     441The return value is normally allocated via @code{malloc}.  If no
     442relative prefix can be found, return @code{NULL}.
    363443
    364444@end deftypefn
Note: See TracChangeset for help on using the changeset viewer.