diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2005-11-29 18:47:35 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2005-11-29 18:47:35 +0000 |
commit | 0e54d613ae73baae389f82279958af959c746290 (patch) | |
tree | 40e0ca02a7912a34fdebc8384c62e018fc7a0bc6 /lib/savedir.h | |
parent | 9e9e0e34e6cf93309e562335ae663be4784bd76a (diff) | |
download | gnulib-0e54d613ae73baae389f82279958af959c746290.tar.gz |
* modules/savedir (Depends-on): Add openat.
* lib/savedir.h (fdsavedir): New decl.
* lib/savedir.c (fdsavedir, savedirstream): New functions; the latter
contains most of the former guts of savedir.
(savedir): Use savedirstream.
Include "openat.h".
Diffstat (limited to 'lib/savedir.h')
-rw-r--r-- | lib/savedir.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/savedir.h b/lib/savedir.h index 4828b1becb..7809d2392e 100644 --- a/lib/savedir.h +++ b/lib/savedir.h @@ -1,6 +1,6 @@ /* Save the list of files in a directory in a string. - Copyright 1997, 1999, 2001, 2003 Free Software Foundation, Inc. + Copyright 1997, 1999, 2001, 2003, 2005 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -21,6 +21,7 @@ #if !defined SAVEDIR_H_ # define SAVEDIR_H_ -char *savedir (const char *dir); +char *savedir (char const *dir); +char *fdsavedir (int fd); #endif |