aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2007-11-21 22:55:38 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2007-11-21 22:55:38 +0000
commit861696aa40909d5c11ab4876b716d48fef73a49d (patch)
treeca92da3c124e9c623b55e8587a466dc9601b24d3
parent41a9707d26e3553576d3645f5b1566fe704b16ec (diff)
downloadmailfromd-861696aa40909d5c11ab4876b716d48fef73a49d.tar.gz
mailfromd-861696aa40909d5c11ab4876b716d48fef73a49d.tar.bz2
Update
git-svn-id: file:///svnroot/mailfromd/trunk@1532 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r--ChangeLog4
-rw-r--r--doc/mailfromd.texi14
2 files changed, 18 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3f0e1b36..2fe622e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2007-11-22 Sergey Poznyakoff <gray@gnu.org.ua>
+
+ * doc/mailfromd.texi: Update
+
2007-11-21 Sergey Poznyakoff <gray@gnu.org.ua>
* src/bi_io.m4 (write): Implement optional third argument.
diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi
index b583341d..731c4ae1 100644
--- a/doc/mailfromd.texi
+++ b/doc/mailfromd.texi
@@ -4984,6 +4984,20 @@ message body obtained from the remote host.
As of version @value{VERSION}, @code{$1} cannot be processed with
usual string functions, because it is not null-terminated. This
limitation will be removed in future versions.
+
+It is possible, however, to pass it to an external program, using
+@code{write} with three arguments (@pxref{I/O functions, write}), e.g.:
+
+@smallexample
+number fd;
+
+prog body
+do
+ write(fd, $1, $2);
+ @dots{}
+@end smallexample
+
+ This example assumes that @code{fd} is opened using @code{open}.
@end table
@end deffn

Return to:

Send suggestions and report system problems to the System administrator.