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

File descriptor-based output functions. More...

#include "libft.h"
+ Include dependency graph for ft_output.c:

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

Implements low-level output helpers that write characters, strings, and integers to a specific file descriptor. Includes error handling for partial writes and system interruptions.