bunxovlh.inc 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2002 by Marco van de Voort
  5. Some generic overloads for stringfunctions in the baseunix unit.
  6. See the file COPYING.FPC, included in this distribution,
  7. for details about the copyright.
  8. This program is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. **********************************************************************}
  12. Function FpLink (existing : AnsiString; newone : AnsiString): cInt;
  13. Function FpMkfifo (path : AnsiString; Mode : TMode): cInt;
  14. Function FpChmod (path : AnsiString; Mode : TMode): cInt;
  15. Function FpChown (path : AnsiString; owner : TUid; group : TGid): cInt;
  16. Function FpUtime (path : AnsiString; times : putimbuf): cInt;
  17. Function FpGetcwd (path:AnsiString; siz:TSize):AnsiString;
  18. Function FpExecve (path : AnsiString; argv : ppchar; envp: ppchar): cInt;
  19. Function FpExecv (path : AnsiString; argv : ppchar): cInt;
  20. Function FpOpendir (dirname : AnsiString): pDir;
  21. Function FpChdir (path : AnsiString): cInt;
  22. Function FpOpen (path : AnsiString; flags : cInt; Mode: TMode):cInt;
  23. Function FpMkdir (path : AnsiString; Mode: TMode):cInt;
  24. Function FpUnlink (path : AnsiString): cInt;
  25. Function FpRmdir (path : AnsiString): cInt;
  26. Function FpRename (old : AnsiString;newpath: AnsiString): cInt;
  27. Function FpStat (path: AnsiString; var buf : stat): cInt;
  28. Function FpAccess (pathname : AnsiString; aMode : cInt): cInt;
  29. Function FPFStat(var F:Text;Var Info:stat):Boolean;
  30. Function FPFStat(var F:File;Var Info:stat):Boolean;
  31. // added. Is a depreciated POSIX function that can be considered alias to
  32. // sigaction
  33. Function FpSignal(signum:longint;Handler:signalhandler):signalhandler;
  34. {
  35. $Log$
  36. Revision 1.2 2003-06-01 16:28:41 marco
  37. * Enhancements to make the compiler baseunix using.
  38. Revision 1.1 2002/12/18 16:49:02 marco
  39. * New RTL. Linux system unit and baseunix operational.
  40. }