42sh 1.0.0
Create a shell in C
Loading...
Searching...
No Matches
my_fprintf.c File Reference

The file containing the my_fprintf function. More...

Functions

int my_fprintf (int fd, char const *format,...)
 Writes a string (format) with possible flags and format in a file descriptor (fd) and returns the length the printed string.
 

Detailed Description

The file containing the my_fprintf function.

Author
Nicolas TORO

Function Documentation

◆ my_fprintf()

int my_fprintf ( int fd,
char const * format,
... )

Writes a string (format) with possible flags and format in a file descriptor (fd) and returns the length the printed string.

Parameters
formatThe string to print
...The arguments to use with flags and format
Returns
int The number of printed characters
Author
Nicolas TORO and Gianni TUERO