From: Guido Draheim Date: Sun, 16 Aug 2009 16:52:45 +0000 (+0000) Subject: comment update X-Git-Tag: v0.13.57~1 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=bcf15fa2cf61eb737dfdcc8037f256a970b0c101;p=zziplib comment update --- diff --git a/zzip/file.c b/zzip/file.c index dc518ed..f79da59 100644 --- a/zzip/file.c +++ b/zzip/file.c @@ -533,7 +533,7 @@ zzip_fread(void *ptr, zzip_size_t size, zzip_size_t nmemb, ZZIP_FILE * file) * * Note that if the file is found in the normal fs-directory the * returned structure is mostly empty and the => zzip_read call will - * use the libc => read to obtain data. Otherwise a => zzip_file_open + * use the libc => read(2) to obtain data. Otherwise a => zzip_file_open * is performed and any error mapped to => errno(3). * * unlike the posix-wrapper => zzip_open the mode-argument is @@ -672,7 +672,7 @@ zzip_freopen(zzip_char_t * filename, zzip_char_t * mode, ZZIP_FILE * stream) * * Note that if the file is found in the normal fs-directory the * returned structure is mostly empty and the => zzip_read call will - * use the libc => read to obtain data. Otherwise a => zzip_file_open + * use the libc => read(2) to obtain data. Otherwise a => zzip_file_open * is performed and any error mapped to => errno(3). * * There was a possibility to transfer zziplib-specific openmodes diff --git a/zzip/info.c b/zzip/info.c index a1324d6..0c50600 100644 --- a/zzip/info.c +++ b/zzip/info.c @@ -1,13 +1,13 @@ /* - * Author: + * Author: * Guido Draheim * * Copyright (c) 2000,2001,2002,2003 Guido Draheim * All rights reserved, * use under the restrictions of the * Lesser GNU General Public License - * or alternatively the restrictions + * or alternatively the restrictions * of the Mozilla Public License 1.1 */ @@ -22,9 +22,9 @@ #include #endif -/** - * just returns dir->errcode of the ZZIP_DIR handle - * see: => zzip_dir_open, => zzip_diropen, => zzip_readdir, => zzip_dir_read +/** + * just returns dir->errcode of the ZZIP_DIR handle + * see: => zzip_dir_open, => zzip_dir_open, => zzip_readdir, => zzip_dir_read */ int zzip_error(ZZIP_DIR * dir) @@ -33,13 +33,13 @@ zzip_error(ZZIP_DIR * dir) } /** => zzip_error - * This function just does dir->errcode = errcode + * This function just does dir->errcode = errcode */ void zzip_seterror(ZZIP_DIR * dir, int errcode) { dir->errcode = errcode; } -/** - * This function will just return fp->dir +/** + * This function will just return fp->dir * * If a ZZIP_FILE is contained within a zip-file that one will be a valid * pointer, otherwise a NULL is returned and the ZZIP_FILE wraps a real file. @@ -51,10 +51,10 @@ zzip_dirhandle(ZZIP_FILE * fp) } /** => zzip_dirhandle - * This function will just return dir->fd + * This function will just return dir->fd * * If a ZZIP_DIR does point to a zipfile then the file-descriptor of that - * zipfile is returned, otherwise a NULL is returned and the ZZIP_DIR wraps + * zipfile is returned, otherwise a NULL is returned and the ZZIP_DIR wraps * a real directory DIR (if you have dirent on your system). */ int @@ -64,7 +64,7 @@ zzip_dirfd(ZZIP_DIR * dir) } /** - * return static const string of the known compression methods, + * return static const string of the known compression methods, * otherwise just "zipped" is returned */ zzip_char_t * @@ -85,7 +85,7 @@ zzip_compr_str(int compr) case ZZIP_IS_DEFLATED_BETTER: return "deflatedX"; case ZZIP_IS_IMPLODED_BETTER: return "implodedX"; default: - if (0 < compr && compr < 256) return "zipped"; + if (0 < compr && compr < 256) return "zipped"; else { # ifdef S_ISDIR @@ -113,8 +113,8 @@ zzip_compr_str(int compr) } /** => zzip_file_real - * This function checks if the ZZIP_DIR-handle is wrapping - * a real directory or a zip-archive. + * This function checks if the ZZIP_DIR-handle is wrapping + * a real directory or a zip-archive. * Returns 1 for a stat'able directory, and 0 for a handle to zip-archive. */ int @@ -124,8 +124,8 @@ zzip_dir_real(ZZIP_DIR * dir) } /** - * This function checks if the ZZIP_FILE-handle is wrapping - * a real file or a zip-contained file. + * This function checks if the ZZIP_FILE-handle is wrapping + * a real file or a zip-contained file. * Returns 1 for a stat'able file, and 0 for a file inside a zip-archive. */ int @@ -156,7 +156,7 @@ zzip_realfd(ZZIP_FILE * fp) return fp->fd; } -/* +/* * Local variables: * c-file-style: "stroustrup" * End: