Return-Path: Delivered-To: apmail-apache-cvs-archive@apache.org Received: (qmail 75441 invoked by uid 500); 14 Nov 2000 13:41:24 -0000 Mailing-List: contact apache-cvs-help@apache.org; run by ezmlm Precedence: bulk Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list apache-cvs@apache.org Received: (qmail 75429 invoked by uid 500); 14 Nov 2000 13:41:24 -0000 Delivered-To: apmail-apache-2.0-cvs@apache.org Date: 14 Nov 2000 13:41:23 -0000 Message-ID: <20001114134123.75425.qmail@locus.apache.org> From: bjh@locus.apache.org To: apache-2.0-cvs@apache.org Subject: cvs commit: apache-2.0/src/lib/apr/file_io/os2 pipe.c bjh 00/11/14 05:41:23 Modified: src/lib/apr/file_io/os2 pipe.c Log: Add apr_get_pipe_timeout() for OS/2. Revision Changes Path 1.30 +11 -0 apache-2.0/src/lib/apr/file_io/os2/pipe.c Index: pipe.c =================================================================== RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/os2/pipe.c,v retrieving revision 1.29 retrieving revision 1.30 diff -u -r1.29 -r1.30 --- pipe.c 2000/11/14 06:40:03 1.29 +++ pipe.c 2000/11/14 13:41:23 1.30 @@ -169,3 +169,14 @@ } return APR_EINVAL; } + + + +apr_status_t apr_get_pipe_timeout(apr_file_t *thepipe, apr_interval_time_t *timeout) +{ + if (thepipe->pipe == 1) { + *timeout = thepipe->timeout; + return APR_SUCCESS; + } + return APR_EINVAL; +}