diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-10-12 12:16:57 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2008-10-12 12:16:57 +0200 |
| commit | 928e2dc79b46a455ef0c0096ddf40682e07b4a27 (patch) | |
| tree | 85cf08ae19bdd5ac44261802b2e16972cc38e792 /ULibc.pas | |
| parent | c29edff595cff9d43a607c15b5af6e2ec101263a (diff) | |
| download | tuxcmd-928e2dc79b46a455ef0c0096ddf40682e07b4a27.tar.xz | |
Implement VFS question and password callbacksv0.6.53
Diffstat (limited to 'ULibc.pas')
| -rw-r--r-- | ULibc.pas | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -24,6 +24,7 @@ interface const GLIBC_LIB = 'libc.so.6'; DL_LIB = 'libdl.so.2'; + PTHREAD_LIB = 'libpthread.so.0'; type {$IFDEF KYLIX} @@ -850,6 +851,9 @@ function access(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_ function euidaccess(pathname: PChar; mode: Longint): Longint; cdecl; external GLIBC_LIB name 'euidaccess'; +type pthread_t = {$ifdef cpu64}QWord{$else}DWord{$endif}; + +function pthread_self: pthread_t; cdecl; external PTHREAD_LIB name 'pthread_self'; implementation |
