s6

Mirror/fork of https://skarnet.org/software/s6/
git clone https://ccx.te2000.cz/git/s6
Log | Files | Refs | README | LICENSE

ftrigr_startf.c (428B)


      1 /* ISC license. */
      2 
      3 #include <skalibs/textclient.h>
      4 #include <s6/ftrigr.h>
      5 
      6 int ftrigr_startf (ftrigr_t *a, tain const *deadline, tain *stamp)
      7 {
      8   static char const *const cargv[2] = { FTRIGRD_PROG, 0 } ;
      9   static char const *const cenvp[1] = { 0 } ;
     10   return textclient_startf(&a->connection, cargv, cenvp, TEXTCLIENT_OPTION_WAITPID, FTRIGR_BANNER1, FTRIGR_BANNER1_LEN, FTRIGR_BANNER2, FTRIGR_BANNER2_LEN, deadline, stamp) ;
     11 }