955b52e4b2
Team: OTHERS Feature or Bugfix:Feature Binary Source:No PrivateCode(Yes/No):No Change-Id: I8bcb92a97a98c61077c55704dec03c997d1246da ChangeID:13439291
11 lines
197 B
C
11 lines
197 B
C
#include "stdio_impl.h"
|
|
#include <string.h>
|
|
|
|
int fputs(const char *restrict s, FILE *restrict f)
|
|
{
|
|
size_t l = strlen(s);
|
|
return (fwrite(s, 1, l, f)==l) - 1;
|
|
}
|
|
|
|
weak_alias(fputs, fputs_unlocked);
|