The OpenNET Project / Index page

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

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

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

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

  • BSD mandoc
     

    NAME

    
    
    strfmon
    
     - convert monetary value to string
    
     
    

    LIBRARY

    Lb libc
    
     
    

    SYNOPSIS

       #include <monetary.h>
    ssize_t strfmon (char * restrict s size_t maxsize const char * restrict format ...);
     

    DESCRIPTION

    The strfmon ();
    function places characters into the array pointed to by Fa s as controlled by the string pointed to by Fa format . No more than Fa maxsize bytes are placed into the array.

    The format string is composed of zero or more directives: ordinary characters (not % ) which are copied unchanged to the output stream; and conversion specifications, each of which results in fetching zero or more subsequent arguments. Each conversion specification is introduced by the % character. After the % the following appear in sequence:

     

    RETURN VALUES

    If the total number of resulting bytes including the terminating NULL byte is not more than Fa maxsize , strfmon ();
    returns the number of bytes placed into the array pointed to by Fa s , not including the terminating NULL byte. Otherwise, -1 is returned, the contents of the array are indeterminate, and errno is set to indicate the error.  

    ERRORS

    The strfmon ();
    function will fail if:

    Bq Er E2BIG
    Conversion stopped due to lack of space in the buffer.
    Bq Er EINVAL
    The format string is invalid.
    Bq Er ENOMEM
    Not enough memory for temporary buffers.

     

    SEE ALSO

    localeconv(3)  

    STANDARDS

    The strfmon ();
    function conforms to St -p1003.1-2001 .  

    AUTHORS

    An -nosplit The strfmon ();
    function was implemented by An Alexey Zelkin Aq [email protected] .

    This manual page was written by An Jeroen Ruigrok van der Werven Aq [email protected] based on the standards' text.  

    BUGS

    The strfmon ();
    function does not correctly handle multibyte characters in the Fa format argument.


     

    Index

    NAME
    LIBRARY
    SYNOPSIS
    DESCRIPTION
    RETURN VALUES
    ERRORS
    SEE ALSO
    STANDARDS
    AUTHORS
    BUGS


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




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

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