URI:
       trange.c: add pledge(2) - numtools - perform numerical operations on vectors and matrices in unix pipes
  HTML git clone git://src.adamsgaard.dk/numtools
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit 7e2f799e29da287dac3cc67c1f1ade065a63e7d9
   DIR parent 211ed30935ec20145286227258cfc75d6d436734
  HTML Author: Anders Damsgaard <anders@adamsgaard.dk>
       Date:   Tue,  3 May 2022 08:28:59 +0200
       
       range.c: add pledge(2)
       
       Diffstat:
         M range.c                             |       3 +++
       
       1 file changed, 3 insertions(+), 0 deletions(-)
       ---
   DIR diff --git a/range.c b/range.c
       t@@ -25,6 +25,9 @@ main(int argc, char *argv[])
                double minv = 0.0, maxv = 1.0, dx;
                char fmtstr[PATH_MAX] = "%g\n";
        
       +        if (pledge("stdio", NULL) == -1)
       +                err(2, "pledge");
       +
                ARGBEGIN {
                case 'b':
                        openstart = 1;