diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-11-21 22:55:38 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-11-21 22:55:38 +0000 |
commit | 861696aa40909d5c11ab4876b716d48fef73a49d (patch) | |
tree | ca92da3c124e9c623b55e8587a466dc9601b24d3 | |
parent | 41a9707d26e3553576d3645f5b1566fe704b16ec (diff) | |
download | mailfromd-861696aa40909d5c11ab4876b716d48fef73a49d.tar.gz mailfromd-861696aa40909d5c11ab4876b716d48fef73a49d.tar.bz2 |
Update
git-svn-id: file:///svnroot/mailfromd/trunk@1532 7a8a7f39-df28-0410-adc6-e0d955640f24
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | doc/mailfromd.texi | 14 |
2 files changed, 18 insertions, 0 deletions
@@ -1,6 +1,10 @@ +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. * src/bi_sieve.m4: New file. * src/mailfromd.h (vlogmsg): New proto. * src/main.c (capa): Request "common" capability. diff --git a/doc/mailfromd.texi b/doc/mailfromd.texi index b583341d..731c4ae1 100644 --- a/doc/mailfromd.texi +++ b/doc/mailfromd.texi @@ -4981,12 +4981,26 @@ message body obtained from the remote host. @item @code{number}; Length of @code{$1}, in bytes. @end enumerate @item Notes: 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 @deffn {Handler} eom @table @b @item Invocation: |