tgrekov-push_swap
HIVE push_swap July 2024
|
Definition in file set_fd.c.
#include <stdarg.h>
#include <unistd.h>
#include "../sequence.h"
#include "../../utils/internal_types.h"
Go to the source code of this file.
Functions | |
static int | process_set_fd (t_sequence seq, int *fd, int total) |
Processes the set file descriptor specifier by setting the file descriptor. (Phenomenal design) | |
void | pre_set_fd (va_list args, t_sequence *seq) |
Preprocess the set file descriptor specifier by retrieving the argument, ensuring that s_subspec::min_width is 0 , and setting s_sequence::process to process_set_fd. | |
void pre_set_fd | ( | va_list | args, |
t_sequence * | seq | ||
) |
Preprocess the set file descriptor specifier by retrieving the argument, ensuring that s_subspec::min_width is 0
, and setting s_sequence::process to process_set_fd.
[in,out] | args | |
[in,out] | seq |
Definition at line 49 of file set_fd.c.
References s_sequence::data, s_subspec::min_width, s_sequence::process, process_set_fd(), and s_sequence::subspec.
|
static |
Processes the set file descriptor specifier by setting the file descriptor. (Phenomenal design)
[in] | seq | |
[in,out] | fd | |
[in] | total | (Unused) |
int | Always 0 |
Definition at line 34 of file set_fd.c.
References s_sequence::data.