libixp

git clone git://oldgit.suckless.org/libixp/
Log | Files | Refs | LICENSE

ixp_srv_writectl.3 (793B)


      1 .TH "IXP_SRV_WRITECTL" 3 "2010 Jun" "libixp Manual"
      2 
      3 .SH NAME
      4 .P
      5 ixp_srv_writectl
      6 
      7 .SH SYNOPSIS
      8 .nf
      9   #include <ixp_srvutil.h>
     10   
     11   char *ixp_srv_writectl(Ixp9Req *req, char *(*fn)(void *, IxpMsg *));
     12 .fi
     13 
     14 .SH DESCRIPTION
     15 .P
     16 This utility function is meant to simplify the writing of
     17 pseudo files to which single\-lined commands are written.
     18 In order to use this function, the IauxR member of
     19 IreqR\->fid must be nul or an \fBIxpFileId(3)\fR.  Each line of the
     20 written data is stripped of its trailing newline,
     21 nul\-terminated, and stored in an \fBIxpMsg(3)\fR. For each line
     22 thus prepared, IfnR is called with the IxpMsg pointer and
     23 the the IpR member of the IxpFileId.
     24 
     25 
     26 .\" man code generated by txt2tags 2.5 (http://txt2tags.sf.net)
     27 .\" cmdline: txt2tags -o- ixp_srv_writectl.man3
     28