unxsysch.inc 1.3 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. $Id$
  3. This file is part of the Free Pascal run time library.
  4. Copyright (c) 2003 Marco van de Voort
  5. member of the Free Pascal development team.
  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 fpNice(N:cint):cint;
  13. Function fpGetPriority(Which,Who:cint):cint;
  14. Function fpSetPriority(Which,Who,What:cint):cint;
  15. Function fpLstat(path:pchar;Info:pstat):cint;
  16. Function fpLstat(Filename: PathStr;Info:pstat):cint;
  17. Function fpSymlink(oldname,newname:pchar):cint;
  18. Function fpReadLink(name,linkname:pchar;maxlen:cint):cint;
  19. Function Fpmmap(start:pointer;len:size_t;prot:cint;flags:cint;fd:cint;offst:off_t):pointer; external name 'FPC_SYSC_MMAP';
  20. Function Fpmunmap(start:pointer;len:size_t):cint; external name 'FPC_SYSC_MUNMAP';
  21. function fpgettimeofday(tp: ptimeval;tzp:ptimezone):cint; external name 'FPC_SYSC_GETTIMEOFDAY';
  22. {
  23. $Log$
  24. Revision 1.5 2004-01-01 17:07:21 marco
  25. * few small freebsd fixes backported from debugging linux
  26. Revision 1.4 2003/12/30 12:26:21 marco
  27. * FPC_USE_LIBC
  28. }