fatfs/src/ff.c
int f_puts (
	const TCHAR* str,	/* Pointer to the string to be output */
	FIL* fp				/* Pointer to the file object */
)
{
	putbuff pb;


	putc_init(&pb, fp);
	while (*str) putc_bfd(&pb, *str++);		/* Put the string */
	return putc_flush(&pb);
}
/*-----------------------------------------------------------------------*/
/* Put a String to the File                                              */
/*-----------------------------------------------------------------------*/
Put a String to the File
Put a String to the File
int f_puts (
	const TCHAR* str,	
	FIL* fp				
)
{
	putbuff pb;
	putc_init(&pb, fp);
	while (*str) putc_bfd(&pb, *str++);		
	return putc_flush(&pb);
}
int f_puts ( const TCHAR * str , FIL * fp ) { putbuff pb ; putc_init ( & pb , fp ) ; while ( * str ) putc_bfd ( & pb , * str ++ ) ; return putc_flush ( & pb ) ; }
Put a String to the File
Put a String to the File
/* Pointer to the string to be output */ /* Pointer to the file object */ /* Put the string */