blob: 091845c2074f7747939fae754aba9e29e9b63a1c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* ISC license. */
#include <skalibs/env.h>
#include <skalibs/uint.h>
#include <execline/execline.h>
unsigned int el_getstrict (void)
{
static unsigned int strict = 0 ;
static int first = 1 ;
if (first)
{
char const *x = env_get("EXECLINE_STRICT") ;
first = 0 ;
if (x) uint0_scan(x, &strict) ;
}
return strict ;
}
|