Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
fpc-src / usr / share / fpcsrc / 3.2.0 / tests / webtbs / tw3257.pp
Size: Mime:
{ %target=linux,freebsd,haiku }

{ Source provided for Free Pascal Bug Report 3257 }
{ Submitted by "peter green" on  2004-08-18 }
{ e-mail: plugwash@p10link.net }
unit tw3257;

{$mode delphi}
{$inline on}

interface

implementation
uses
  baseunix,unix,sysutils;

  procedure gettimeofday(var tv:ttimeval);inline;
    begin
      fpgettimeofday(@tv,nil);
    end;
    function gettimeofdaysec : longint;inline;
    var
      tv:ttimeval;
    begin
      gettimeofday(tv);
      result := tv.tv_sec;
    end;
end.