str_put_n_chars Function

From Microchip MDD File System Interface

MDDFS Interface Library Help
str_put_n_chars Function
C
unsigned char str_put_n_chars(
    FSFILE * handle, 
    unsigned char n, 
    char c
);
Description

This funciton is used by the FSfprintf function to write multiple instances of a single character to a file (for example, when padding a format specifier with leading spacez or zeros).

Preconditions

This function should not be called by the user.

Parameters
Parameters 
Description 
handle 
The file to write to. 
n 
The number of times to write that character to a file. 
c 
The character to write to the file. 
Return Values
Return Values 
Description 
0 
The characters were written successfully 
EOF 
The characters were not written to the file. 
Side Effects

None

Remarks

None.

Microchip MDD File System Interface 1.2.0 - [Aug 18, 2008]
Copyright © 2008 Microchip Technology, Inc.  All rights reserved.