summaryrefslogtreecommitdiff
path: root/ULibc.pas
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@redhat.com>2024-01-19 19:03:20 +0100
committerTomas Bzatek <tbzatek@redhat.com>2024-01-19 19:03:20 +0100
commitb665202fc06826ae3c239f3420f8052989c7568c (patch)
tree580876490e5d5968990d4c858bcfff7caa208f04 /ULibc.pas
parentc39411fcedd2086c10511a2be8bf81ba6c3c568c (diff)
downloadtuxcmd-b665202fc06826ae3c239f3420f8052989c7568c.tar.xz
Set the TUXMCD_DEBUG env. var for VFS loggingv0.6.79
In case tuxcmd is started with the --debug switch, set the TUXMCD_DEBUG env. var that is later picked up by modules.
Diffstat (limited to 'ULibc.pas')
-rw-r--r--ULibc.pas1
1 files changed, 1 insertions, 0 deletions
diff --git a/ULibc.pas b/ULibc.pas
index 50996bd..edccfc8 100644
--- a/ULibc.pas
+++ b/ULibc.pas
@@ -892,6 +892,7 @@ function getegid: __gid_t; cdecl; external GLIBC_LIB name 'getegid';
function access(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_LIB name 'access';
function euidaccess(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_LIB name 'euidaccess';
+function setenv(name: PChar; value: PChar; overwrite: Longint): Longint; cdecl; external GLIBC_LIB name 'setenv';
type pthread_t = {$ifdef cpu64}QWord{$else}DWord{$endif};