unxsysch.inc 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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 fpSymlink(oldname,newname:pchar):cint;
  19. //Function fpReadLink(name,linkname:pchar;maxlen:size_t):cint;
  20. {
  21. $Log$
  22. Revision 1.7 2004-11-14 12:21:08 marco
  23. * moved some calls from unix to baseunix. Darwin untested.
  24. Revision 1.6 2004/11/03 15:00:43 marco
  25. * Pathstr eliminated
  26. Revision 1.5 2004/01/01 16:10:23 marco
  27. * fpreadlink(pathstr) moved to unxovl (since not platform specific),
  28. small fixes for "make all OPT='-dFPC_USE_LIBC'
  29. Revision 1.4 2003/11/19 11:46:55 marco
  30. * changes due to the previous *BSD changes. Mainly moving constants from
  31. unix to systypes.inc (which acts as unxtypes.inc)
  32. }