aboutsummaryrefslogtreecommitdiff
path: root/file_io/os2/readwrite.c
Commit message (Collapse)AuthorAge
...
* Fix an incompatible pointer type warning.Brian Havard2000-11-13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60715 13f79535-47bb-0310-9956-ffa450edef68
* Remove some accidentally (I assume :) committed junk.Brian Havard2000-11-13
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60714 13f79535-47bb-0310-9956-ffa450edef68
* Move all of the file private header files to an arch directory underRyan Bloom2000-11-09
| | | | | | | | | the include directory. All private header files for APR are being moved. This allows platforms that only implement some of the APR types to compile cleanly. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60653 13f79535-47bb-0310-9956-ffa450edef68
* Convert a lot of apr_ssize_t to apr_size_t. We don't ever accept or returnRyan Bloom2000-11-07
| | | | | | | | | | signed values in these integers, and we return the error codes directly, so we should always report the number of bytes read/written correctly. If we have an error, that is 0 bytes. If that is true, then using signed values doesn't make any sense. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60642 13f79535-47bb-0310-9956-ffa450edef68
* Renamed all MODULE_EXPORT symbols to AP_MODULE_DECLARE and all symbolsWilliam A. Rowe Jr2000-10-16
| | | | | | | | | | for CORE_EXPORT to AP_CORE_DECLARE (namespace protecting the wrapper) and retitled API_EXPORT as AP_DECLARE and APR_EXPORT as APR_DECLARE. All _VAR_ flavors changes to _DATA to be absolutely clear. Thank you Greg, for the most obvious suggestion. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60587 13f79535-47bb-0310-9956-ffa450edef68
* Remaining cleanup of ap_ -> apr_ and AP_ -> APR_ transformation...William A. Rowe Jr2000-08-06
| | | | | | | | | | | | | see src/lib/apr/apr_compat.h for most details. Also a few minor nits to get Win32 to build. PR: Obtained from: Submitted by: Reviewed by: git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60481 13f79535-47bb-0310-9956-ffa450edef68
* prefix libapr functions and types with apr_Doug MacEachern2000-08-02
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60470 13f79535-47bb-0310-9956-ffa450edef68
* ap_puts(), ap_write(): make input buffer ptr const * instead of *Jeff Trawick2000-06-17
| | | | | | | ap_create_namedpipe(): make input path name ptr const * instead of * git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60217 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add an implementation of ap_file_check_read().Brian Havard2000-05-27
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60107 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Fix ap_write() to use the handle's mutex lock instead of criticalBrian Havard2000-05-27
| | | | | | | sections & report write errors correctly in buffered mode. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60106 13f79535-47bb-0310-9956-ffa450edef68
* Mass update of API_IMPORT/EXPORT symbols TO APR_ symbols.William A. Rowe Jr2000-05-26
| | | | | | | | | | | | | | | | | | | | | | | | APR is -NOT- the Apache server, so the import/export declations cannot use the same defined symbols. Other minor changes API_THREAD_PROC is now APR_THREAD_PROC. API_VAR_IMPORT/EXPORT are now APR_IMPORT/EXPORT_VAR, to allow easier grepping. The new compilation switches APR_STATIC and APR_EXPORT_SYMBOLS allow the builder to select either static linked or the creation of the export symbols for APR. The aprlib and aprlibdll .dsp projects now include the later symbol. More cleanups from recent commits are still needed, as well as a thorough review of the distinction between APR_EXPORT and APR_EXPORT_NONSTD. The later is used only for pure __cdecl required functions, such as variable arguments (not va array arguments, those are not an issue.) git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@60101 13f79535-47bb-0310-9956-ffa450edef68
* back out APR_ prefix for TRUE,FALSEDoug MacEachern2000-04-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59983 13f79535-47bb-0310-9956-ffa450edef68
* prefix TRUE,FALSE with APR_Doug MacEachern2000-04-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59975 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: First hack at non-blocking & time-outable pipes.Brian Havard2000-04-18
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59885 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Switch from using critical sections to mutex semaphores for makingBrian Havard2000-04-18
| | | | | | | | the buffering code thread safe. It's the more subtle approach and is actually faster too. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59884 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Add a kludgy implementation of ap_ungetc().Brian Havard2000-04-08
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59816 13f79535-47bb-0310-9956-ffa450edef68
* First stage of migrating OS/2 code to new error code mappings, define & useBrian Havard2000-04-08
| | | | | | | macro for returning OS/2 error codes. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59815 13f79535-47bb-0310-9956-ffa450edef68
* Ignore Ctrl-Z when reading text a string.Brian Havard2000-04-04
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59781 13f79535-47bb-0310-9956-ffa450edef68
* Finish the APR naming cleanup. This removes the struct's fromRyan Bloom2000-04-03
| | | | | | | | apr_variable declarations. This works on Unix, but a test compile on other platforms would be a good idea. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59773 13f79535-47bb-0310-9956-ffa450edef68
* Change struct file_t to struct ap_file_t. This clarifies things a bit thatRyan Bloom2000-04-03
| | | | | | | | | APR defines both the struct and typedef's it. This is also the way things should have been coded originally, so this just fixes it. Expect more of these patches today. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59768 13f79535-47bb-0310-9956-ffa450edef68
* Update to Apache Software License version 1.1Roy T. Fielding2000-03-31
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59754 13f79535-47bb-0310-9956-ffa450edef68
* Fix all the License issues. Including:Ryan Bloom2000-03-10
| | | | | | | | | s/Apache Group/Apache Software Foundation/ s/1999/2000/ s/Sascha's license/ASF license git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59688 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Update ap_writev() to take new parameters.Brian Havard2000-03-03
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59678 13f79535-47bb-0310-9956-ffa450edef68
* Make file I/O and network I/O writev/sendv APIs consistent.Bill Stoddard2000-02-21
| | | | | | | | | Eliminate use of ap_iovec_t and use Posix struct iovec. I never did hear a case (much less a strong case) supporting the need for ap_iovec_t, so out it goes. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59663 13f79535-47bb-0310-9956-ffa450edef68
* Rework ap_finfo_t to split the file type out of the protection field.Brian Havard2000-01-10
| | | | | | | I've taken a stab at the unix implementation but tested only on OS/2. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59584 13f79535-47bb-0310-9956-ffa450edef68
* Fix a warning "implicit declaration of function `malloc'"Brian Havard1999-12-19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59536 13f79535-47bb-0310-9956-ffa450edef68
* Reomve a missed APR_EOF return from ap_read().Brian Havard1999-11-08
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59461 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: make ap_read/ap_write thread safe when buffered.Brian Havard1999-11-07
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59459 13f79535-47bb-0310-9956-ffa450edef68
* Rewrite ap_fprintf to be uniform on all platforms. This fixes a memoryManoj Kasichainula1999-11-05
| | | | | | | leak and potential buffer overflow. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59456 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Don't return APR_EOF from ap_read(). EOF is indicated by a APR_SUCCESSBrian Havard1999-11-03
| | | | | | | status with nbytes set to 0. git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59445 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: First take at adding buffered file I/O support. Only reads tested so far.Brian Havard1999-10-19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59381 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: ap_fgets() should NULL terminate the string.Brian Havard1999-10-19
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59378 13f79535-47bb-0310-9956-ffa450edef68
* OS/2: Assorted file I/O cleanups & fixes.Brian Havard1999-10-18
| | | | | | | | | | | | - Implement ap_eof() - Fix flags passed to DosOpen when reading an existing file - Invalidate file status info after a write - add (mostly based on the unix versions) ap_make_iov(), ap_writev(), ap_putc(), ap_ungetc(), ap_getc(), ap_puts(), ap_flush(), ap_fgets(), ap_fprintf() git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59365 13f79535-47bb-0310-9956-ffa450edef68
* Fix build of APR on OS/2Brian Havard1999-08-28
| | | | git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59172 13f79535-47bb-0310-9956-ffa450edef68
* Initial revisionRyan Bloom1999-08-17
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59151 13f79535-47bb-0310-9956-ffa450edef68