changeset 12514:e5e66c389597

Add gethostname to documentation.
author Rik <octave@nomad.inbox5.com>
date Thu, 17 Mar 2011 20:53:32 -0700
parents 6a50edfb186b
children 88d1134bb095
files doc/ChangeLog doc/interpreter/system.txi src/ChangeLog src/syscalls.cc
diffstat 4 files changed, 12 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-17  Rik  <octave@nomad.inbox5.com>
+
+	* interpreter/system.txi: Add gethostname to documentation
+
 2010-03-17  Rik  <octave@nomad.inbox5.com>
 
 	* interpreter/doccheck/mk_undocumented_list: Add fmod,
--- a/doc/interpreter/system.txi
+++ b/doc/interpreter/system.txi
@@ -260,6 +260,8 @@
 * URL Manipulation::
 @end menu
 
+@DOCSTRING(gethostname)
+
 @node FTP Objects
 @subsection FTP Objects
 
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
+2010-03-17  Rik  <octave@nomad.inbox5.com>
+
+	* syscalls.cc (gethostname): Redo documentation string.
+
 2011-03-17  Iain Murray  <iain@iainmurray.net>
 
 	* DLD-FUNCTIONS/nprocs.cc: Delete file.
--- a/src/syscalls.cc
+++ b/src/syscalls.cc
@@ -1182,8 +1182,8 @@
 
 DEFUN (gethostname, args, ,
   "-*- texinfo -*-\n\
-@deftypefn {Built-in Function} {[@var{uts}, @var{err}, @var{msg}] =} uname ()\n\
-Return the hostname of the system on which Octave is running\n\
+@deftypefn {Built-in Function} {} gethostname ()\n\
+Return the hostname of the system where Octave is running.\n\
 @end deftypefn")
 {
   octave_value retval;