The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]

Интерактивная система просмотра системных руководств (man-ов)

 ТемаНаборКатегория 
 
 [Cписок руководств | Печать]

rtime (3)
  • >> rtime (3) ( FreeBSD man: Библиотечные вызовы )
  • rtime (3) ( Русские man: Библиотечные вызовы )
  • rtime (3) ( Linux man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    
    
    rtime
    
     - get remote time
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <sys/types.h>
       #include <sys/time.h>
       #include <netinet/in.h>
    int Fo rtime Fa struct sockaddr_in *addrp Fa struct timeval *timep Fa struct timeval *timeout Fc  

    DESCRIPTION

    The rtime ();
    function consults the Internet Time Server at the address pointed to by Fa addrp and returns the remote time in the Vt timeval struct pointed to by Fa timep . Normally, the UDP protocol is used when consulting the Time Server. The Fa timeout argument specifies how long the routine should wait before giving up when waiting for a reply. If Fa timeout is specified as NULL however, the routine will instead use TCP and block until a reply is received from the time server.  

    RETURN VALUES

    Rv -std rtime  

    SEE ALSO

    timed(8)


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO


    Поиск по тексту MAN-ов: 




    Партнёры:
    PostgresPro
    Inferno Solutions
    Hosting by Hoster.ru
    Хостинг:

    Закладки на сайте
    Проследить за страницей
    Created 1996-2024 by Maxim Chirkov
    Добавить, Поддержать, Вебмастеру