Skip to content
Snippets Groups Projects
Commit e912d417 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Some more documentation fixes.

Rev: lib/modules/Stdio.pmod/module.pmod:1.153
parent 3339647b
No related branches found
No related tags found
No related merge requests found
// $Id: module.pmod,v 1.152 2002/08/28 12:40:57 grubba Exp $
// $Id: module.pmod,v 1.153 2002/08/28 12:46:34 grubba Exp $
#pike __REAL_VERSION__
inherit files;
......@@ -1670,11 +1670,16 @@ string read_bytes(string filename, void|int start,void|int len)
//! Write the string @[str] onto the file @[filename]. Any existing
//! data in the file is overwritten.
//!
//! For a description of @[access], see @[Stdio.File()->open()].
//!
//! @throws
//! Throws an error if @[filename] couldn't be opened for writing.
//!
//! @returns
//! Returns number of bytes written.
//! Returns the number of bytes written.
//!
//! @seealso
//! @[append_file()], @[read_bytes()]
//! @[append_file()], @[read_bytes()], @[Stdio.File()->open()]
//!
int write_file(string filename, string str, int|void access)
{
......@@ -1695,11 +1700,16 @@ int write_file(string filename, string str, int|void access)
//! Append the string @[str] onto the file @[filename].
//!
//! For a description of @[access], see @[Stdio.File->open()].
//!
//! @throws
//! Throws an error if @[filename] couldn't be opened for writing.
//!
//! @returns
//! Returns number of bytes written.
//! Returns the number of bytes written.
//!
//! @seealso
//! @[write_file()], @[read_bytes()]
//! @[write_file()], @[read_bytes()], @[Stdio.File()->open()]
//!
int append_file(string filename, string str, int|void access)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment