fgets.3 (ce04c11001bbd7623549d791dee58b2683c81585) | fgets.3 (54e4e385de33a961e801ceeea8146437e25edd88) |
---|---|
1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 34 unchanged lines hidden (view full) --- 43.Nm fgets , 44.Nm gets 45.Nd get a line from a stream 46.Sh LIBRARY 47.Lb libc 48.Sh SYNOPSIS 49.In stdio.h 50.Ft char * | 1.\" Copyright (c) 1990, 1991, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Chris Torek and the American National Standards Committee X3, 6.\" on Information Processing Systems. 7.\" 8.\" Redistribution and use in source and binary forms, with or without --- 34 unchanged lines hidden (view full) --- 43.Nm fgets , 44.Nm gets 45.Nd get a line from a stream 46.Sh LIBRARY 47.Lb libc 48.Sh SYNOPSIS 49.In stdio.h 50.Ft char * |
51.Fn fgets "char *str" "int size" "FILE *stream" | 51.Fn fgets "char * restrict str" "int size" "FILE * restrict stream" |
52.Ft char * 53.Fn gets "char *str" 54.Sh DESCRIPTION 55The 56.Fn fgets 57function 58reads at most one less than the number of characters specified by 59.Fa size --- 98 unchanged lines hidden (view full) --- 158(See 159.Pa /usr/share/doc/{to be determined} . ) 160.Sh STANDARDS 161The functions 162.Fn fgets 163and 164.Fn gets 165conform to | 52.Ft char * 53.Fn gets "char *str" 54.Sh DESCRIPTION 55The 56.Fn fgets 57function 58reads at most one less than the number of characters specified by 59.Fa size --- 98 unchanged lines hidden (view full) --- 158(See 159.Pa /usr/share/doc/{to be determined} . ) 160.Sh STANDARDS 161The functions 162.Fn fgets 163and 164.Fn gets 165conform to |
166.St -isoC . | 166.St -isoC-99 . |