libk  Diff

Differences From Artifact [34396da060]:

To Artifact [03256457ff]:


     6      6    * structures. it is the same for all platforms.
     7      7    * platform-specific code is found in the *.platform.h
     8      8    * files.
     9      9    */
    10     10   
    11         -#include <k/str.h>
    12     11   #include <k/type.h>
    13     12   #include <k/mem.h>
    14     13   
    15     14   #ifdef __cplusplus
    16     15   extern "C" {
................................................................................
    74     73   	kiocond_fail_over_quota,
    75     74   	kiocond_fail_pfault,
    76     75   	kiocond_fail_too_big,
    77     76   	kiocond_fail_stream_mismatch,
    78     77   } kiocond;
           78  +
           79  +#include <k/str.h>
    79     80   
    80     81   kiocond kiosend(kiochan, ksraw, sz*); // send data to a channel
    81     82   kiocond kiosendall(kiochan, ksraw); // keep sending data to a channel until it's all sent
    82     83   kiocond kiorecv(kiochan, ksraw*); // receive data from a channel
    83     84   kmptr kiorecvall(kiochan, kmcell*, kmkind); // automatically allocate a bufer for a channel