util  Diff

Differences From Artifact [c1a75e9d61]:

To Artifact [8e7c9355c5]:


    10     10    *  	  to use POSIX io primitives (write and read)
    11     11    *  	  instead of libc primitives (printf). if
    12     12    *  	  you're on a UNIX system, POSIX primitives
    13     13    *  	  will be used by default, but you can block
    14     14    *  	  them with LIBC or force them with POSIX.
    15     15    *  	  if you are on a POSIX- compliant system,
    16     16    *  	  you *should* use POSIX IO, for improved
    17         - *  	  performance and safety. */
           17  + *  	  performance and safety.
           18  +
           19  + 	TODO: take full advantage of write(2) by storing
           20  +	      output in single string & making single
           21  +		  write call */
    18     22   
    19     23   #if (defined(__unix__) && _IO != LIBC) || (_IO == POSIX)
    20     24   #	define _POSIX_IO
    21     25   #endif
    22     26   
    23     27   #ifdef _POSIX_IO
    24     28   #	include <unistd.h>