2
0

ossysch.inc 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. {
  2. $Id$
  3. Copyright (c) 2002 by Marco van de Voort
  4. Header file for calls used in System unit, but not exposed
  5. in BaseUnix.
  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. }
  13. //Function Fpmmap(start:pointer;len:size_t;prot:cint;flags:cint;fd:cint;offst:off_t):pointer; external name 'FPC_SYSC_MMAP';
  14. //Function Fpmunmap(start:pointer;len:size_t):cint; external name 'FPC_SYSC_MUNMAP';
  15. //function fpgettimeofday(tp: ptimeval;tzp:ptimezone):cint; external name 'FPC_SYSC_GETTIMEOFDAY';
  16. //Function fpReadLink(name,linkname:pchar;maxlen:size_t):cint; external name 'FPC_SYSC_READLINK';
  17. //Function FpIOCtl(handle:cint;ndx:culong;Data: Pointer):cint; external name 'FPC_SYSC_IOCTL';
  18. //Function FpGetPid:pid_t; external name 'FPC_SYSC_GETPID';
  19. //Function FpNanoSleep(req : ptimespec;rem : ptimespec):cint; external name 'FPC_SYSC_NANOSLEEP';
  20. {
  21. $Log$
  22. Revision 1.8 2004-11-19 13:15:14 marco
  23. * external rework. Mostly done.
  24. Revision 1.7 2004/11/14 12:21:08 marco
  25. * moved some calls from unix to baseunix. Darwin untested.
  26. Revision 1.6 2003/11/19 11:46:55 marco
  27. * changes due to the previous *BSD changes. Mainly moving constants from
  28. unix to systypes.inc (which acts as unxtypes.inc)
  29. Revision 1.5 2003/09/27 13:45:58 peter
  30. * fpnanosleep exported in baseunix
  31. * fpnanosleep has pointer arguments to be C compliant
  32. Revision 1.4 2003/09/20 15:10:30 marco
  33. * small fixes. fcl now compiles
  34. Revision 1.3 2003/09/15 20:29:50 marco
  35. * small fix
  36. Revision 1.2 2003/09/14 20:15:01 marco
  37. * Unix reform stage two. Remove all calls from Unix that exist in Baseunix.
  38. Revision 1.1 2002/12/18 16:43:26 marco
  39. * new unix rtl, linux part.....
  40. }