apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Moore-Oliva <j...@chatgris.com>
Subject Comment Bug in apr_file_io.h
Date Sat, 14 Jun 2003 23:49:43 GMT
Right now these two entries read...

/**
 * put a character into the specified file.
 * @param ch The character to write.
 * @param thefile The file descriptor to write to
 */
APR_DECLARE(apr_status_t) apr_file_putc(char ch, apr_file_t *thefile);

/**
 * get a character from the specified file.
 * @param ch The character to write.
 * @param thefile The file descriptor to write to
 */
APR_DECLARE(apr_status_t) apr_file_getc(char *ch, apr_file_t *thefile);

the offending part being

 * @param ch The character to write.
 * @param thefile The file descriptor to write to

for GETc

I think it should be

/**
 * put a character into the specified file.
 * @param ch The character to write.
 * @param thefile The file descriptor to write to
 */
APR_DECLARE(apr_status_t) apr_file_putc(char ch, apr_file_t *thefile);

/**
 * get a character from the specified file.
 * @param ch The character to read into.
 * @param thefile The file descriptor to read from.
 */
APR_DECLARE(apr_status_t) apr_file_getc(char *ch, apr_file_t *thefile);


Mime
View raw message