summaryrefslogtreecommitdiffstats
path: root/src/c_init.h
diff options
context:
space:
mode:
authorsalad <fmoenne-@student.le-101.fr>2020-11-02 15:23:19 +0100
committersalad <fmoenne-@student.le-101.fr>2020-11-02 15:23:19 +0100
commit541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab (patch)
tree6098829ac4007b672893e800ea56453071672973 /src/c_init.h
parentomw to sed-town (diff)
download42-minishell-541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab.tar.gz
42-minishell-541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab.tar.bz2
42-minishell-541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab.tar.xz
42-minishell-541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab.tar.zst
42-minishell-541d187f9fa37f79b5815a5d4d52ac5ad5bf2bab.zip
merge happenned
Diffstat (limited to 'src/c_init.h')
-rw-r--r--src/c_init.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/c_init.h b/src/c_init.h
index e723563..db7d777 100644
--- a/src/c_init.h
+++ b/src/c_init.h
@@ -37,13 +37,13 @@ typedef struct s_caps
{
struct termios tios;
struct winsize ws;
- uint32_t cpos;
- uint32_t lpos;
- uint32_t nlines;
- uint8_t psx;
+ unsigned int cpos;
+ unsigned int lpos;
+ unsigned int nlines;
+ unsigned short psx;
} t_caps;
-int16_t c_gnl(int32_t fd, char **line, uint8_t psx, t_msh *msh);
-int16_t c_set_term_raw(uint8_t mode);
+short c_gnl(int fd, char **line, char psx, t_msh *msh);
+short c_set_term_raw(char mode);
#endif