Project/Real_code/gnu/coreutils-5.0/src/ls.c
static int
put_indicator_direct (const struct bin_str *ind)
{
  size_t len;
  if (ind->len <= 0)
    return 0;

  len = ind->len;
  return (full_write (STDOUT_FILENO, ind->string, len) != len);
}
/* Output a color indicator, but don't use stdio, for use from signal handlers.
   Return zero if the write is successful or if the string length is zero.
   Return nonzero if the write fails.  */
Output a color indicator, but don't use stdio, for use from signal handlers.
Return zero if the write is successful or if the string length is zero.
Return nonzero if the write fails.
Output a color indicator but don ' t use stdio for use from signal handlers . Return zero if the write is successful or if the string length is zero . Return nonzero if the write fails .
static int
put_indicator_direct (const struct bin_str *ind)
{
  size_t len;
  if (ind->len <= 0)
    return 0;
  len = ind->len;
  return (full_write (STDOUT_FILENO, ind->string, len) != len);
}
static int put_indicator_direct ( const struct bin_str * ind ) { size_t len ; if ( ind -> len <= 0 ) return 0 ; len = ind -> len ; return ( full_write ( STDOUT_FILENO , ind -> string , len ) != len ) ; }
Output a color indicator, but don't use stdio, for use from signal handlers.
Output a color indicator but don ' t use stdio for use from signal handlers .