/*
* exemple utilisation 'fgets'
*/
#include <stdio.h>
#include <string.h>
#define TL 8
int main(int argc, char *argv[])
{
char buffer[TL+1];
while( fgets(buffer, TL, stdin) ) {
printf(" %4ld\n", strlen(buffer));
}
return 0;