libft
Loading...
Searching...
No Matches
Functions
ft_output.h File Reference

File descriptor-based output functions. More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void ft_putchar_fd (char c, int fd)
 Writes a single character to a file descriptor.
 
void ft_putendl_fd (char *s, int fd)
 Writes a string followed by a newline to a file descriptor.
 
void ft_putnbr_fd (int n, int fd)
 Writes an integer to a file descriptor.
 
int ft_putstr_fd (char *str, int fd)
 Writes a string to a file descriptor.
 

Detailed Description

File descriptor-based output functions.

Author
Toonsa
Date
2025/04/05

This header provides functions for writing characters, strings, and numbers to a specified file descriptor. These are useful for low-level formatted output in logging, CLI tools, or system-level utilities.