diff options
author | kevlo <kevlo@FreeBSD.org> | 2016-01-14 01:33:16 +0000 |
---|---|---|
committer | kevlo <kevlo@FreeBSD.org> | 2016-01-14 01:33:16 +0000 |
commit | 3ffa9342143fe71b14d68a35fe3eae4ff1be3f8e (patch) | |
tree | 9a6fa5bf672c4ef2ad328991db1087bf003444e4 /lib | |
parent | a0ac27fb9a7770e4e06b200cbe8a11ab3801b184 (diff) | |
download | FreeBSD-src-3ffa9342143fe71b14d68a35fe3eae4ff1be3f8e.zip FreeBSD-src-3ffa9342143fe71b14d68a35fe3eae4ff1be3f8e.tar.gz |
- Add the 'restrict' type qualifier to match function prototype.
- Remove sys/types.h.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/stat.2 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/lib/libc/sys/stat.2 b/lib/libc/sys/stat.2 index 5e49b3c..3405d6e 100644 --- a/lib/libc/sys/stat.2 +++ b/lib/libc/sys/stat.2 @@ -28,7 +28,7 @@ .\" @(#)stat.2 8.4 (Berkeley) 5/1/95 .\" $FreeBSD$ .\" -.Dd June 2, 2012 +.Dd January 14, 2016 .Dt STAT 2 .Os .Sh NAME @@ -40,12 +40,11 @@ .Sh LIBRARY .Lb libc .Sh SYNOPSIS -.In sys/types.h .In sys/stat.h .Ft int -.Fn stat "const char *path" "struct stat *sb" +.Fn stat "const char * restrict path" "struct stat * restrict sb" .Ft int -.Fn lstat "const char *path" "struct stat *sb" +.Fn lstat "const char * restrict path" "struct stat * restrict sb" .Ft int .Fn fstat "int fd" "struct stat *sb" .Ft int |