Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 May 2017 07:15:57 +0000 (UTC)
From:      Ngie Cooper <ngie@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r318711 - head/lib/libc/stdio
Message-ID:  <201705230715.v4N7FvwW074666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ngie
Date: Tue May 23 07:15:57 2017
New Revision: 318711
URL: https://svnweb.freebsd.org/changeset/base/318711

Log:
  fopencookie(3): declare function pointers in SYNOPSIS correctly
  
  Add obligatory `*` in declarations.
  
  Reported by:	make manlint
  MFC after:	2 weeks
  Sponsored by:	Dell EMC Isilon

Modified:
  head/lib/libc/stdio/fopencookie.3

Modified: head/lib/libc/stdio/fopencookie.3
==============================================================================
--- head/lib/libc/stdio/fopencookie.3	Tue May 23 07:14:46 2017	(r318710)
+++ head/lib/libc/stdio/fopencookie.3	Tue May 23 07:15:57 2017	(r318711)
@@ -35,13 +35,13 @@
 .Sh SYNOPSIS
 .In stdio.h
 .Ft typedef ssize_t
-.Fn (cookie_read_function_t) "void *cookie" "char *buf" "size_t size"
+.Fn (*cookie_read_function_t) "void *cookie" "char *buf" "size_t size"
 .Ft typedef ssize_t
-.Fn (cookie_write_function_t) "void *cookie" "const char *buf" "size_t size"
+.Fn (*cookie_write_function_t) "void *cookie" "const char *buf" "size_t size"
 .Ft typedef int
-.Fn (cookie_seek_function_t) "void *cookie" "off64_t *offset" "int whence"
+.Fn (*cookie_seek_function_t) "void *cookie" "off64_t *offset" "int whence"
 .Ft typedef int
-.Fn (cookie_close_function_t) "void *cookie"
+.Fn (*cookie_close_function_t) "void *cookie"
 .Bd -literal
 typedef struct {
 	cookie_read_function_t	*read;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201705230715.v4N7FvwW074666>