Путеводитель по Руководству Linux

  User  |  Syst  |  Libr  |  Device  |  Files  |  Other  |  Admin  |  Head  |



   fprintf.3p    ( 3 )

печать форматированного вывода (print formatted output)

Ошибки (Error)

For the conditions under which dprintf(), fprintf(), and printf() fail and may fail, refer to fputc(3p) or fputwc(3p).

In addition, all forms of fprintf() shall fail if:

EILSEQ A wide-character code that does not correspond to a valid character has been detected.

EOVERFLOW The value to be returned is greater than {INT_MAX}.

The dprintf() function may fail if:

EBADF The fildes argument is not a valid file descriptor.

The dprintf(), fprintf(), and printf() functions may fail if:

ENOMEM Insufficient storage space is available.

The snprintf() function shall fail if:

EOVERFLOW The value of n is greater than {INT_MAX}.

The following sections are informative.