stdio
- Ejemplos
Using streams is very much like using ANSI stdio functions. | Usar flujos es muy parecido a usar las funciones de stdio de ANSI. |
It's an stdio library routine, not a system call. | Es una rutina de la biblioteca stdio y no una llamada del sistema. |
The table below shows the Streams equivalents of the more common ANSI stdio functions. | La tabla a continuación muestra los equivalentes de Secuencia a las funciones más comunes de stdio ANSI. |
The table below shows the Streams equivalents of the more common ANSI stdio functions. | La tabla de abajo muestra la equivalencia entre Flujos y las funciones stdio de ANSI más comunes. |
Well, first we imported a library called stdio which manages the standard i/o (input output) functions, like printf(). | Bueno, primero importamos una biblioteca llamada stdio que gestiona las funciones estándar de entrada / salida (input output), como printf(). |
A general rule is that file descriptors are handled in the kernel, while stdio is just a library. | Una regla general es que los descriptores de fichero son gestionados por el núcleo, mientras que stdio es una simple biblioteca. |
If your system has the fopencookie() or funopen() function, you can even pass any PHP stream to any library that uses ANSI stdio! | Si su sistema tiene la función fopencookie() o funopen(), ¡puede pasar incluso cualquier secuencia PHP a cualquier biblioteca que use stdio ANSI! |
If your system has the fopencookie() or funopen() function, you can even pass any PHP stream to any library that uses ANSI stdio! | Si su sistema tiene la función fopencookie() o funopen(), ¡puede incluso pasar cualquier flujo de PHP a cualquier biblioteca de use stdio de ANSI! |
The stdio library is a part of the library libc and routines are automatically loaded as needed by the compilers cc(1) and pc(1). | La biblioteca stdio es parte de la biblioteca libc y las rutinas se cargan automaticamente según son necesitadas por los compiladores cc(1) y pc(1). |
Calls to the functions described here can be mixed with each other and with calls to other input functions from the stdio library for the same input stream. | Las llamadas a las funciones descritas aquí pueden mezclarse unas con otras y con llamadas a otras funciones de entrada de la biblioteca stdio para el mismo flujo de entrada. |
Be warned that doing so may cause data that was buffered in the streams layer to be lost if you intermix streams API calls with ANSI stdio calls. | Advierta que hacer esto puede causar la pérdida de datos que fueran puestos en búfer en la capa de secuencias si usted entremezcla las llamadas de la API de secuencias con llamadas stdio ANSI. |
It is not advisable to mix calls to functions like readv() or writev(), which operate on file descriptors, with the functions from the stdio library; the results will be undefined and probably not what you want. | No es recomendable mezclar llamadas a funciones como readv() o writev(), que trabajan sobre descriptores de fichero, con funciones de la biblioteca stdio; los resultados serán indefinidos y probablemente indeseados. |
It is not advisable to mix calls to functions like readv () or writev (), which operate on file descriptors, with the functions from the stdio library; the results will be undefined and probably not what you want. | FALLOS No es recomendable mezclar llamadas a funciones como readv() o writev(), que trabajan sobre descriptores de fichero, con funciones de la biblioteca stdio; los resultados serán indefinidos y probablemente indeseados. |
The API is more or less based on the ANSI C stdio family of functions (with identical semantics for most of the main functions), so C programmers will have a feeling of familiarity with streams. | La API está más o menos basada en la familia de funciones stdio de ANSI C (con semántica idéntica para la mayoría de las funciones principales), por lo que los programadores de C estarán familiarizados con los flujos. |
The API is more or less based on the ANSI C stdio family of functions (with identical semantics for most of the main functions), so C programmers will have a feeling of familiarity with streams. | La API se encuentra más o menos basada en la familia de funciones ANSI C stdio (con una semántica idéntica para la mayoría de sus funciones principales), así que los progamadores de C tendrán una sensación de familiaridad con las secuencias. |
It is not advisable to mix calls to input functions from the stdio library with low-level calls to read() for the file descriptor associated with the input stream; the results will be undefined and very probably not what you want. | No es recomendable mezclar llamadas a las funciones de entrada de la biblioteca stdio con llamadas de bajo nivel a read() para el descriptor de fichero asociado con el flujo de entrada; los resultados serán indefinidos y probablemente no los deseados. |
The stdio library is a part of the library libc and routines are automatically loaded as needed by the compilers cc(1) and pc(1). | La libreria stdio es parte de la libreria libc y las rutinas se cargan automaticamente según son necesitadas por los compiladores cc(1) y pc(1). |
Streams opened via the expect:// wrapper provide access to process'es stdio, stdout and stderr via PTY. | Los flujos que se hayan abierto con la envoltura expect://, darán acceso a stdio, stdout y stderr (entrada, salida y errores estándar respectivamente) de los procesos, vía PTY. |
