svn commit: r331944 - in projects/krb5: include lib/libc/stdio
Cy Schubert
cy at FreeBSD.org
Tue Apr 3 20:22:02 UTC 2018
Author: cy
Date: Tue Apr 3 20:22:02 2018
New Revision: 331944
URL: https://svnweb.freebsd.org/changeset/base/331944
Log:
MFH to r331943.
Modified:
projects/krb5/include/stdio.h
projects/krb5/lib/libc/stdio/fgets.3
Directory Properties:
projects/krb5/ (props changed)
Modified: projects/krb5/include/stdio.h
==============================================================================
--- projects/krb5/include/stdio.h Tue Apr 3 20:14:37 2018 (r331943)
+++ projects/krb5/include/stdio.h Tue Apr 3 20:22:02 2018 (r331944)
@@ -51,6 +51,11 @@ typedef __size_t size_t;
#define _SIZE_T_DECLARED
#endif
+#ifndef _RSIZE_T_DEFINED
+#define _RSIZE_T_DEFINED
+typedef size_t rsize_t;
+#endif
+
#if __POSIX_VISIBLE >= 200809
#ifndef _OFF_T_DECLARED
#define _OFF_T_DECLARED
@@ -265,6 +270,9 @@ size_t fwrite(const void * __restrict, size_t, size_t
int getc(FILE *);
int getchar(void);
char *gets(char *);
+#if defined(__EXT1_VISIBLE) && __EXT1_VISIBLE == 1
+char *gets_s(char *, rsize_t);
+#endif
void perror(const char *);
int printf(const char * __restrict, ...);
int putc(int, FILE *);
Modified: projects/krb5/lib/libc/stdio/fgets.3
==============================================================================
--- projects/krb5/lib/libc/stdio/fgets.3 Tue Apr 3 20:14:37 2018 (r331943)
+++ projects/krb5/lib/libc/stdio/fgets.3 Tue Apr 3 20:22:02 2018 (r331944)
@@ -32,12 +32,13 @@
.\" @(#)fgets.3 8.1 (Berkeley) 6/4/93
.\" $FreeBSD$
.\"
-.Dd May 5, 2012
+.Dd April 3, 2018
.Dt FGETS 3
.Os
.Sh NAME
.Nm fgets ,
-.Nm gets
+.Nm gets ,
+.Nm gets_s
.Nd get a line from a stream
.Sh LIBRARY
.Lb libc
More information about the svn-src-projects
mailing list