return ret;
}
-/* writes chunk <chunk> into the applet's output buffer if it uses its own
- * bufferx or into the input channel of the stream attached to this applet.
+/* writes chunk <chunk> into the applet output buffer (see applet_get_outbuf).
*
* Returns the number of written bytes on success or -1 on error (lake of space,
* shutdown, invalid call...)
return _applet_putchk(appctx, chunk, 1);
}
-/* writes <len> chars from <blk> into the applet's output buffer if it uses its own
- * bufferx or into the input channel of the stream attached to this applet.
+/* writes <len> chars from <blk> into the applet output buffer (see applet_get_outbuf).
*
* Returns the number of written bytes on success or -1 on error (lake of space,
* shutdown, invalid call...)
return ret;
}
-/* writes chars from <str> up to the trailing zero (excluded) into the applet's
- * output buffer if it uses its own bufferx or into the input channel of the
- * stream attached to this applet.
+/* writes chars from <str> up to the trailing zero (excluded) into the applet
+ * output buffer (see applet_get_outbuf).
*
* Returns the number of written bytes on success or -1 on error (lake of space,
* shutdown, invalid call...)
return ret;
}
-/* writes character <chr> into the applet's output buffer if it uses its own
- * bufferx or into the input channel of the stream attached to this applet.
+/* writes character <chr> into the applet's output buffer (see applet_get_outbuf).
*
* Returns the number of written bytes on success or -1 on error (lake of space,
* shutdown, invalid call...)