diff options
author | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:49 +0000 |
---|---|---|
committer | Arch Librarian <arch@canonical.com> | 2004-09-20 16:52:49 +0000 |
commit | cc2313b74cd33dd79e82c44cd9d3dbbefeb8092d (patch) | |
tree | 3a0c70817ced82646c0db884132d9f869a768ee2 /apt-pkg/contrib/fileutl.h | |
parent | cdb970c74216a19194380ad657f44332c4aae5a3 (diff) |
modified WaitFd in fileutl to support passing a timeout
Author: doogie
Date: 1999-02-12 20:47:41 GMT
modified WaitFd in fileutl to support passing a timeout
Diffstat (limited to 'apt-pkg/contrib/fileutl.h')
-rw-r--r-- | apt-pkg/contrib/fileutl.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/contrib/fileutl.h b/apt-pkg/contrib/fileutl.h index f35cf04d6..faec10c2d 100644 --- a/apt-pkg/contrib/fileutl.h +++ b/apt-pkg/contrib/fileutl.h @@ -1,6 +1,6 @@ // -*- mode: cpp; mode: fold -*- // Description /*{{{*/ -// $Id: fileutl.h,v 1.12 1999/01/18 06:20:08 jgg Exp $ +// $Id: fileutl.h,v 1.13 1999/02/12 20:47:41 doogie Exp $ /* ###################################################################### File Utilities @@ -66,7 +66,7 @@ bool FileExists(string File); string SafeGetCWD(); void SetCloseExec(int Fd,bool Close); void SetNonBlock(int Fd,bool Block); -bool WaitFd(int Fd); +bool WaitFd(int Fd, bool write = false, long timeout = 0); // File string manipulators string flNotDir(string File); |