Displaying 1 result from an estimated 1 matches for "mr_stdout_writ".
Did you mean:
mr_stdout_write
2006 Oct 07
1
Request to open up getConnection to embedded interface
...ize R */
/* Redirect stdout to apache specific routines */
con = getConnection(1);
con->private = (void *) apr_pcalloc(p,sizeof(struct ApacheOutpcon));
con->text = FALSE; /* allows us to do binary writes */
con->vfprintf = mr_stdout_vfprintf;
con->write = mr_stdout_write;
con->fflush = mr_stdout_fflush;
...
And here are the definitions of the mr_* functions:
int mr_stdout_vfprintf(Rconnection con, const char *format, va_list ap){
RApacheOutpcon this = con->private;
apr_status_t rv;
rv = apr_brigade_vprintf(this->brigade, ap_fil...