aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Kerrisk <mtk.manpages@gmail.com>2013-03-17 08:49:00 +0100
committerMichael Kerrisk <mtk.manpages@gmail.com>2013-03-17 08:49:00 +0100
commit70a97b165ddaddb5d61576acad717cdae48738b9 (patch)
tree13e54dd341e6e4e51dced6ac6ca7a1bbd2b7b6f2
parent988bd008f83a260b7c703814f85692707f77bad0 (diff)
downloadman-pages-70a97b165ddaddb5d61576acad717cdae48738b9.tar.gz
fopencookie.3: Correct definition of cookie_io_functions_t
Reported-by: Ralph Loader <suckfish@ihug.co.nz> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r--man3/fopencookie.36
1 files changed, 3 insertions, 3 deletions
diff --git a/man3/fopencookie.3 b/man3/fopencookie.3
index ed371a348b..9582d50f7d 100644
--- a/man3/fopencookie.3
+++ b/man3/fopencookie.3
@@ -23,7 +23,7 @@
.\" the source, must acknowledge the copyright and authors of this work.
.\" %%%LICENSE_END
.\"
-.TH FOPENCOOKIE 3 2012-04-30 "Linux" "Linux Programmer's Manual"
+.TH FOPENCOOKIE 3 2013-03-17 "Linux" "Linux Programmer's Manual"
.SH NAME
fopencookie \- opening a custom stream
.SH SYNOPSIS
@@ -107,12 +107,12 @@ The structure is defined as follows
.in +4n
.nf
-struct cookie_io_functions_t {
+typedef struct {
cookie_read_function_t *read;
cookie_write_function_t *write;
cookie_seek_function_t *seek;
cookie_close_function_t *close;
-};
+} cookie_io_functions_t;
.fi
.in