123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475 |
- {
- $Id$
- This file is part of the Free Pascal run time library.
- Copyright (c) 2002 by Marco van de Voort
- Some generic overloads for stringfunctions in the baseunix unit.
- See the file COPYING.FPC, included in this distribution,
- for details about the copyright.
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- **********************************************************************}
- Function FpLink (existing : AnsiString; newone : AnsiString): cInt;
- Function FpMkfifo (path : AnsiString; Mode : TMode): cInt;
- Function FpChmod (path : AnsiString; Mode : TMode): cInt;
- Function FpChown (path : AnsiString; owner : TUid; group : TGid): cInt;
- Function FpUtime (path : AnsiString; times : putimbuf): cInt;
- Function FpGetcwd (path:AnsiString; siz:TSize):AnsiString;
- Function FpExecve (path : AnsiString; argv : ppchar; envp: ppchar): cInt;
- Function FpExecv (path : AnsiString; argv : ppchar): cInt;
- Function FpOpendir (dirname : AnsiString): pDir;
- Function FpOpen (path : pChar; flags : cInt):cInt;
- Function FpOpen (path : AnsiString; flags : cInt):cInt;
- Function FpOpen (path : AnsiString; flags : cInt; Mode: TMode):cInt;
- Function FpOpen (path : String; flags : cInt):cInt;
- Function FpOpen (path : String; flags : cInt; Mode: TMode):cInt;
- Function FpChdir (path : AnsiString): cInt;
- Function FpMkdir (path : AnsiString; Mode: TMode):cInt;
- Function FpUnlink (path : AnsiString): cInt;
- Function FpRmdir (path : AnsiString): cInt;
- Function FpRename (old : AnsiString;newpath: AnsiString): cInt;
- Function FpStat (path: AnsiString; var buf : stat): cInt;
- Function FpStat (path: String; var buf : stat): cInt;
- Function FpAccess (pathname : AnsiString; aMode : cInt): cInt;
- Function FPFStat (var F:Text;Var Info:stat):Boolean;
- Function FPFStat (var F:File;Var Info:stat):Boolean;
- // added. Is a depreciated POSIX function that can be considered alias to sigaction
- Function FpSignal (signum:longint;Handler:signalhandler):signalhandler;
- Function FpRead (fd : cInt; var buf; nbytes : TSize): TSsize;
- Function FpWrite (fd : cInt; const buf; nbytes : TSize): TSsize;
- Function FpDup (var oldfile,newfile:text):cint;
- Function FpDup (var oldfile,newfile:file):cint;
- Function FpDup2 (var oldfile,newfile:text):cint;
- Function FpDup2 (var oldfile,newfile:file):cint;
- function fptime :time_t;
- Function fpSelect(N:cint;readfds,writefds,exceptfds:pfdset;TimeOut:cint):cint;
- Function fpSelect(var T:Text;TimeOut :PTimeval):cint;
- Function fpSelect(var T:Text;TimeOut :time_t):cint;
- {
- $Log$
- Revision 1.3 2003-09-14 20:15:01 marco
- * Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
- Revision 1.2 2003/06/01 16:28:41 marco
- * Enhancements to make the compiler baseunix using.
- Revision 1.1 2002/12/18 16:49:02 marco
- * New RTL. Linux system unit and baseunix operational.
- }
-
|