Logo Search packages:      
Sourcecode: pwlib version File versions  Download package

BOOL PTextFile::WriteLine ( const PString str )

Read a line from the text file. What constitutes an end of line in the file is platform dependent.

Use the PChannel::GetLastError()# function to determine the failure mode.

Returns:
TRUE if successful, FALSE if an error occurred.
Parameters:
strString to write with end of line terminator.

Definition at line 1177 of file ptlib.cxx.

References PChannel::WriteChar(), and PChannel::WriteString().

{
  return WriteString(str) && WriteChar('\n');
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index