SIMPLE SOLUTIONS

FMT_STRN(3) - Linux man page online | Library functions

Write an ASCII string.

Chapter
fmt_strn(3) Library Functions Manual fmt_strn(3)

NAME

fmt_strn - write an ASCII string

SYNTAX

#include <fmt.h> size_t fmt_strn(char *dest,const char *source, size_t maxlen);

DESCRIPTION

fmt_str copies at most maxlen leading nonzero bytes from source to dest and returns the number of bytes it copied. fmt_str does not append \0. If dest equals FMT_LEN (i.e. is zero), fmt_strn returns the number of bytes it would have written.

SEE ALSO

strncpy(3)
fmt_strn(3)
This manual Reference Other manuals
fmt_strn(3) referred by fmt_fill(3) | fmt_pad(3)
refer to strcpy(3)
Download raw manual
Main page Library Functions Manual (+5028) № 3 (+68044)
Go top