diff options
author | wtc%netscape.com <devnull@localhost> | 1999-04-01 04:57:35 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 1999-04-01 04:57:35 +0000 |
commit | 7792436bcd68386243a188ff624e85e6dafc5481 (patch) | |
tree | 0330eee27153160b97d43954c5c7b6a7c8ef8dd6 /pr/include/prio.h | |
parent | d06c6b56a58e87fbae4f1643e3509df451e4f102 (diff) | |
download | nspr-hg-7792436bcd68386243a188ff624e85e6dafc5481.tar.gz |
Name the third argument for PR_Writev 'iov_size', as opposed
to 'size'.
Diffstat (limited to 'pr/include/prio.h')
-rw-r--r-- | pr/include/prio.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pr/include/prio.h b/pr/include/prio.h index 8da9deed..7f44fdd3 100644 --- a/pr/include/prio.h +++ b/pr/include/prio.h @@ -316,7 +316,8 @@ typedef PRInt64 (PR_CALLBACK *PRSeek64FN)(PRFileDesc *fd, PRInt64 offset, PRSeek typedef PRStatus (PR_CALLBACK *PRFileInfoFN)(PRFileDesc *fd, PRFileInfo *info); typedef PRStatus (PR_CALLBACK *PRFileInfo64FN)(PRFileDesc *fd, PRFileInfo64 *info); typedef PRInt32 (PR_CALLBACK *PRWritevFN)( - PRFileDesc *fd, const PRIOVec *iov, PRInt32 size, PRIntervalTime timeout); + PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, + PRIntervalTime timeout); typedef PRStatus (PR_CALLBACK *PRConnectFN)( PRFileDesc *fd, const PRNetAddr *addr, PRIntervalTime timeout); typedef PRFileDesc* (PR_CALLBACK *PRAcceptFN) ( @@ -695,10 +696,11 @@ PR_EXTERN(PRInt32) PR_Write(PRFileDesc *fd,const void *buf,PRInt32 amount); *************************************************************************** */ -#define PR_MAX_IOVECTOR_SIZE 16 /* 'size' must be <= */ +#define PR_MAX_IOVECTOR_SIZE 16 /* 'iov_size' must be <= */ PR_EXTERN(PRInt32) PR_Writev( - PRFileDesc *fd, const PRIOVec *iov, PRInt32 size, PRIntervalTime timeout); + PRFileDesc *fd, const PRIOVec *iov, PRInt32 iov_size, + PRIntervalTime timeout); /* *************************************************************************** |