fwide.3 (1fae73b137bfc5a237d7258e3c667ba87a36b7ff) | fwide.3 (01533af5a0f742541d5c97c54c9f3e766fcd5ce8) |
---|---|
1.\" $NetBSD: fwide.3,v 1.3 2002/02/07 07:00:25 ross Exp $ 2.\" 3.\" Copyright (c)2001 Citrus Project, 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 22 unchanged lines hidden (view full) --- 31.Dt FWIDE 3 32.Os 33.Sh NAME 34.Nm fwide 35.Nd get/set orientation of a stream 36.Sh LIBRARY 37.Lb libc 38.Sh SYNOPSIS | 1.\" $NetBSD: fwide.3,v 1.3 2002/02/07 07:00:25 ross Exp $ 2.\" 3.\" Copyright (c)2001 Citrus Project, 4.\" All rights reserved. 5.\" 6.\" Redistribution and use in source and binary forms, with or without 7.\" modification, are permitted provided that the following conditions 8.\" are met: --- 22 unchanged lines hidden (view full) --- 31.Dt FWIDE 3 32.Os 33.Sh NAME 34.Nm fwide 35.Nd get/set orientation of a stream 36.Sh LIBRARY 37.Lb libc 38.Sh SYNOPSIS |
39.In stdio.h 40.In wchar.h | 39.Fd #include \*[Lt]stdio.h\*[Gt] 40.Fd #include \*[Lt]wchar.h\*[Gt] |
41.Ft int 42.Fn fwide "FILE *stream" "int mode" 43.Sh DESCRIPTION 44The 45.Fn fwide 46function 47determines the orientation of the stream pointed at by 48.Fa stream . --- 19 unchanged lines hidden (view full) --- 68.Fa stream 69is set to wide-oriented. 70Otherwise, 71.Fa mode 72is zero, and 73.Fa stream 74is unchanged. 75.Sh RETURN VALUES | 41.Ft int 42.Fn fwide "FILE *stream" "int mode" 43.Sh DESCRIPTION 44The 45.Fn fwide 46function 47determines the orientation of the stream pointed at by 48.Fa stream . --- 19 unchanged lines hidden (view full) --- 68.Fa stream 69is set to wide-oriented. 70Otherwise, 71.Fa mode 72is zero, and 73.Fa stream 74is unchanged. 75.Sh RETURN VALUES |
76The | |
77.Fn fwide | 76.Fn fwide |
78function | |
79returns a value according to orientation after the call of 80.Fn fwide ; 81a value less than zero if byte-oriented, a value greater than zero 82if wide-oriented, and zero if the stream has no orientation. 83.Sh SEE ALSO 84.Xr ferror 3 , 85.Xr fgetc 3 , 86.Xr fgetwc 3 , 87.Xr fopen 3 , 88.Xr fputc 3 , 89.Xr fputwc 3 , 90.Xr freopen 3 , 91.Xr stdio 3 92.Sh STANDARDS 93The 94.Fn fwide 95function 96conforms to | 77returns a value according to orientation after the call of 78.Fn fwide ; 79a value less than zero if byte-oriented, a value greater than zero 80if wide-oriented, and zero if the stream has no orientation. 81.Sh SEE ALSO 82.Xr ferror 3 , 83.Xr fgetc 3 , 84.Xr fgetwc 3 , 85.Xr fopen 3 , 86.Xr fputc 3 , 87.Xr fputwc 3 , 88.Xr freopen 3 , 89.Xr stdio 3 90.Sh STANDARDS 91The 92.Fn fwide 93function 94conforms to |
97.St -isoC-99 . | 95.St -isoC99 . |