The OpenNET Project / Index page

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

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

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

cftime (3)
  • >> cftime (3) ( FreeBSD man: Библиотечные вызовы )

  • BSD mandoc
     

    NAME

    cftime
    
     
    ascftime
    
     - convert date and time to string
    
     
    

    LIBRARY

    Lb libcompat
    
     
    

    SYNOPSIS

       #include <time.h>
    int cftime (char *s char *format const time_t *clock);
    int ascftime (char *s const char *format const struct tm *tmptr);
     

    DESCRIPTION

    Bf -symbolic The cftime ();
    and ascftime ();
    functions are made obsolete by strftime(3). Ef

    Use of the functions cftime ();
    and ascftime ();
    is strongly deprecated, since there is no way to check for a buffer overflow condition. Use strftime(3) instead.

    The ascftime ();
    function is almost identical to strftime(3), with the only exception that there is no parameter to tell about the maximal buffer length, and the Fa format parameter defaults to ``%C'' if a NULL pointer is given.

    The cftime ();
    function does the same job, but it first invokes localtime(3) in order to convert the given Fa clock , then also performs the conversions as requested by the Fa format argument.  

    RETURN VALUES

    The cftime ();
    and ascftime ();
    functions return the number of characters written to the output buffer Fa s , not counting the trailing null character.  

    SEE ALSO

    localtime(3), strftime(3)


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    SEE ALSO


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




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

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