unxsysch.inc 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. $Id$
  3. Copyright (c) 2002 by Marco van de Voort
  4. deeper calls exported by unit unix
  5. See the file COPYING.FPC, included in this distribution,
  6. for details about the copyright.
  7. This program is distributed in the hope that it will be useful,
  8. but WITHOUT ANY WARRANTY; without even the implied warranty of
  9. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  10. ****************************************************************************
  11. }
  12. Function Fpmmap(adr:pointer;len:size_t;prot:cint;flags:cint;fd:cint;off:off_t):pointer; external name 'FPC_SYSC_MMAP';
  13. Function Fpmunmap(adr:pointer;len:size_t):cint; external name 'FPC_SYSC_MUNMAP';
  14. function fpgettimeofday(tp: ptimeval;tzp:ptimezone):cint; external name 'FPC_SYSC_GETTIMEOFDAY';
  15. function fpNice(N:cint):cint;
  16. Function fpGetPriority(Which,Who:cint):cint;
  17. Function fpSetPriority(Which,Who,What:cint):cint;
  18. Function fpLstat(path:pchar;Info:pstat):cint;
  19. Function fpLstat(Filename: PathStr;Info:pstat):cint;
  20. Function fpSymlink(oldname,newname:pchar):cint;
  21. Function fpReadLink(name,linkname:pchar;maxlen:size_t):cint;
  22. Function fpReadLink(name:PathStr):PathStr;
  23. {
  24. $Log$
  25. Revision 1.4 2003-11-19 11:46:55 marco
  26. * changes due to the previous *BSD changes. Mainly moving constants from
  27. unix to systypes.inc (which acts as unxtypes.inc)
  28. }