diff options
Diffstat (limited to 'doc/man/man3/tqsocket.3qt')
-rw-r--r-- | doc/man/man3/tqsocket.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqsocket.3qt b/doc/man/man3/tqsocket.3qt index 9e440fb79..a383e8b92 100644 --- a/doc/man/man3/tqsocket.3qt +++ b/doc/man/man3/tqsocket.3qt @@ -213,11 +213,11 @@ Reimplemented from TQIODevice. .SH "bool TQSocket::at ( Offset index )\fC [virtual]\fR" This is an overloaded member function, provided for convenience. It behaves essentially like the above function. .PP -Moves the read index forward to \fIindex\fR and returns TRUE if the operation was successful; otherwise returns FALSE. Moving the index forward means skipping incoming data. +Moves the read index forward to \fIindex\fR and returns true if the operation was successful; otherwise returns false. Moving the index forward means skipping incoming data. .PP Reimplemented from TQIODevice. .SH "bool TQSocket::atEnd () const\fC [virtual]\fR" -Returns TRUE if there is no more data to read; otherwise returns FALSE. +Returns true if there is no more data to read; otherwise returns false. .PP Reimplemented from TQIODevice. .SH "TQ_ULONG TQSocket::bytesAvailable () const" @@ -239,9 +239,9 @@ The bytesToWrite() function is often used in the same context; it indicates how .PP See also writeBlock() and bytesToWrite(). .SH "bool TQSocket::canReadLine () const" -Returns TRUE if it's possible to read an entire line of text from this socket at this time; otherwise returns FALSE. +Returns true if it's possible to read an entire line of text from this socket at this time; otherwise returns false. .PP -Note that if the peer closes the connection unexpectedly, this function returns FALSE. This means that loops such as this won't work: +Note that if the peer closes the connection unexpectedly, this function returns false. This means that loops such as this won't work: .PP .nf .br @@ -366,7 +366,7 @@ Returns the size of the read buffer. .PP See also setReadBufferSize(). .SH "TQString TQSocket::readLine ()\fC [virtual]\fR" -Returns a line of text including a terminating newline character (\\n). Returns "" if canReadLine() returns FALSE. +Returns a line of text including a terminating newline character (\\n). Returns "" if canReadLine() returns false. .PP See also canReadLine(). .PP @@ -431,7 +431,7 @@ If \fImsecs\fR is -1 the call will block indefinitely. .PP Returns the number of bytes available. .PP -If \fItimeout\fR is non-null and no error occurred (i.e. it does not return -1): this function sets \fI*timeout\fR to TRUE, if the reason for returning was that the timeout was reached; otherwise it sets \fI*timeout\fR to FALSE. This is useful to find out if the peer closed the connection. +If \fItimeout\fR is non-null and no error occurred (i.e. it does not return -1): this function sets \fI*timeout\fR to true, if the reason for returning was that the timeout was reached; otherwise it sets \fI*timeout\fR to false. This is useful to find out if the peer closed the connection. .PP \fBWarning:\fR This is a blocking call and should be avoided in event driven applications. .PP |