fwide(3) Library Functions Manual fwide(3) NOMBRE fwide - establece y determina la orientacion de un flujo FILE BIBLIOTECA Biblioteca Estandar C (libc, -lc) SINOPSIS #include int fwide(FILE *flujo, int modo); Requisitos de Macros de Prueba de Caracteristicas para glibc (vease feature_test_macros(7)): fwide(): _XOPEN_SOURCE >= 500 || _ISOC99_SOURCE || _POSIX_C_SOURCE >= 200112L DESCRIPCION When mode is zero, the fwide() function determines the current orientation of stream. It returns a positive value if stream is wide-character oriented, that is, if wide-character I/O is permitted but char I/O is disallowed. It returns a negative value if stream is byte oriented--that is, if char I/O is permitted but wide-character I/O is disallowed. It returns zero if stream has no orientation yet; in this case the next I/O operation might change the orientation (to byte oriented if it is a char I/O operation, or to wide-character oriented if it is a wide-character I/O operation). Una vez que un flujo tiene una orientacion, no se puede cambiar y dura hasta que se cierra el flujo. When mode is nonzero, the fwide() function first attempts to set stream's orientation (to wide-character oriented if mode is greater than 0, or to byte oriented if mode is less than 0). It then returns a value denoting the current orientation, as above. VALOR DEVUELTO The fwide() function returns the stream's orientation, after possibly changing it. A positive return value means wide-character oriented. A negative return value means byte oriented. A return value of zero means undecided. ESTANDARES C11, POSIX.1-2008. HISTORIAL POSIX.1-2001, C99. NOTAS Se puede realizar una salida de caracteres anchos a un flujo orientado a bytes a traves de la funcion fprintf(3) con las directivas %lc y %ls. Se puede realizar una salida orientada a caracteres a un flujo orientado a caracteres anchos a traves de la funcion fwprintf(3) con las directivas %c y %s. VEASE TAMBIEN fprintf(3), fwprintf(3) TRADUCCION La traduccion al espanol de esta pagina del manual fue creada por Juan Piernas Esta traduccion es documentacion libre; lea la GNU General Public License Version 3 o posterior con respecto a las condiciones de copyright. No existe NINGUNA RESPONSABILIDAD. Si encuentra algun error en la traduccion de esta pagina del manual, envie un correo electronico a . Paginas de manual de Linux 6.06 31 Octubre 2023 fwide(3)