mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-11-04 12:59:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			31 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			31 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			PHP
		
	
	
	
	
	
{
 | 
						|
    This file is part of the Free Pascal run time library.
 | 
						|
    Copyright (c) 2001 by Free Pascal development team
 | 
						|
 | 
						|
    cdecl; definitions needed for unix unit.
 | 
						|
 | 
						|
    See the file COPYING.FPC, included in this distribution,
 | 
						|
    for details about the copyright.
 | 
						|
 | 
						|
    This program is distributed in the hope that it will be useful,
 | 
						|
    but WITHOUT ANY WARRANTY; without even the implied warranty of
 | 
						|
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
 | 
						|
 | 
						|
 ***********************************************************************}
 | 
						|
 | 
						|
type filedesarray=array[0..1] of cint;
 | 
						|
 | 
						|
{$ifdef solaris}
 | 
						|
{ libucb needs libelf }
 | 
						|
{$linklib elf}
 | 
						|
Function fpFlock (fd,mode : longint) : cint; cdecl; external 'ucb' name 'flock';
 | 
						|
{$else solaris}
 | 
						|
Function fpFlock (fd,mode : longint) : cint; cdecl; external clib name 'flock';
 | 
						|
{$endif solaris}
 | 
						|
 | 
						|
Function fStatFS(Fd:Longint;Var Info:tstatfs):cint; cdecl; external clib name 'fstatfs';
 | 
						|
Function fsync (fd : cint) : cint; cdecl; external clib name 'fsync';
 | 
						|
Function StatFS  (Path:pchar;Var Info:tstatfs):cint; cdecl; external clib name 'statfs';
 | 
						|
function pipe (var fildes: filedesarray):cint;  cdecl; external clib name 'pipe';
 | 
						|
function fpgettimeofday(tp: ptimeval;tzp:ptimezone):cint;   cdecl; external clib name 'gettimeofday';
 |