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

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



   scanf    ( 3 )

преобразование входного формата (input format conversion)

  Name  |    Synopsis    |  Description  |  Return value  |  Error  |  Attributes  |  Conforming to  |  Note  |  Bugs  |  Examples  |  See also  |

Синопсис (Synopsis)

#include <stdio.h>

int scanf(const char *restrict format, ...); int fscanf(FILE *restrict stream, const char *restrict format, ...); int sscanf(const char *restrict str, const char *restrict format, ...);

#include <stdarg.h>

int vscanf(const char *restrict format, va_list ap); int vfscanf(FILE *restrict stream, const char *restrict format, va_list ap); int vsscanf(const char *restrict str, const char *restrict format, va_list ap);

Feature Test Macro Requirements for glibc (see feature_test_macros(7)):

vscanf(), vsscanf(), vfscanf(): _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L