From 030f1f7692150b473bd81cc1ad5311920bec0b2a Mon Sep 17 00:00:00 2001 From: Philip Guenther Date: Mon, 1 Apr 2013 20:16:32 +0000 Subject: When there are multiple groups of functions with their own #includes listed, the #includes in each group are independent, so that users don't need to guess at possible carry-over. general idea ok otto@ millert@ actual diff ok jmc@ schwarze@ --- lib/libc/sys/chown.2 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/libc/sys/chown.2') diff --git a/lib/libc/sys/chown.2 b/lib/libc/sys/chown.2 index dde8c2f2176..d3e3c2127fc 100644 --- a/lib/libc/sys/chown.2 +++ b/lib/libc/sys/chown.2 @@ -1,4 +1,4 @@ -.\" $OpenBSD: chown.2,v 1.20 2013/03/31 05:07:55 guenther Exp $ +.\" $OpenBSD: chown.2,v 1.21 2013/04/01 20:16:31 guenther Exp $ .\" $NetBSD: chown.2,v 1.10 1995/10/12 15:40:47 jtc Exp $ .\" .\" Copyright (c) 1980, 1991, 1993, 1994 @@ -30,7 +30,7 @@ .\" .\" @(#)chown.2 8.4 (Berkeley) 4/19/94 .\" -.Dd $Mdocdate: March 31 2013 $ +.Dd $Mdocdate: April 1 2013 $ .Dt CHOWN 2 .Os .Sh NAME @@ -40,17 +40,17 @@ .Nm fchown .Nd change owner and group of a file or link .Sh SYNOPSIS -.Fd #include -.Fd #include .Fd #include .Ft int .Fn chown "const char *path" "uid_t owner" "gid_t group" .Ft int .Fn lchown "const char *path" "uid_t owner" "gid_t group" .Ft int -.Fn fchownat "int fd" "const char *path" "uid_t owner" "gid_t group" "int flag" -.Ft int .Fn fchown "int fd" "uid_t owner" "gid_t group" +.Fd #include +.Fd #include +.Ft int +.Fn fchownat "int fd" "const char *path" "uid_t owner" "gid_t group" "int flag" .Sh DESCRIPTION The owner ID and group ID of the file (or link) named by .Fa path -- cgit v1.2.3