diff options
author | cvs2svn <> | 2003-02-28 21:03:32 +0300 |
---|---|---|
committer | cvs2svn <> | 2003-02-28 21:03:32 +0300 |
commit | f5354783aadcf8ccdcbaa9d54f6b0e6f90e5fb56 (patch) | |
tree | 7e5f2cd6d687eb9d86fb8983ffd70d13d200b36b /include/libiberty.h | |
parent | be35d4daa3f2525b35bab1882bf3d2685cfd28ab (diff) |
This commit was manufactured by cvs2svn to create branchcagney_offbyone-20030303-branchpointcagney_offbyone-20030303-branch
'cagney_offbyone-20030303-branch'.
Sprout from interps-20030202-branch 2003-01-31 21:24:33 UTC cvs2svn 'This commit was manufactured by cvs2svn to create branch'
Cherrypick from master 2003-02-28 18:03:31 UTC Nathanael Nerode <neroden@gcc.gnu.org> ' * Makefile.tpl: Rearrange.':
ChangeLog
Makefile.def
Makefile.in
Makefile.tpl
config.guess
config.sub
configure
configure.in
include/ChangeLog
include/elf/ChangeLog
include/elf/arm.h
include/elf/ia64.h
include/elf/ppc.h
include/elf/ppc64.h
include/gdb/ChangeLog
include/gdb/remote-sim.h
include/libiberty.h
include/opcode/ChangeLog
include/opcode/h8300.h
libtool.m4
ltcf-cxx.sh
ltcf-gcj.sh
ltconfig
Diffstat (limited to 'include/libiberty.h')
-rw-r--r-- | include/libiberty.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/libiberty.h b/include/libiberty.h index f9916c58c..676ceaba4 100644 --- a/include/libiberty.h +++ b/include/libiberty.h @@ -85,6 +85,10 @@ extern char *basename (); extern const char *lbasename PARAMS ((const char *)); +/* A well-defined realpath () that is always compiled in. */ + +extern char *lrealpath PARAMS ((const char *)); + /* Concatenate an arbitrary number of strings. You must pass NULL as the last argument of this function, to terminate the list of strings. Allocates memory using xmalloc. */ @@ -242,6 +246,10 @@ extern char *xstrdup PARAMS ((const char *)) ATTRIBUTE_MALLOC; extern PTR xmemdup PARAMS ((const PTR, size_t, size_t)) ATTRIBUTE_MALLOC; +/* Physical memory routines. Return values are in BYTES. */ +extern double physmem_total PARAMS ((void)); +extern double physmem_available PARAMS ((void)); + /* hex character manipulation routines */ #define _hex_array_size 256 |