Added env hashmap with build_env function to build envp
This commit is contained in:
parent
f35e986145
commit
f86947a852
54 changed files with 2010 additions and 105 deletions
20
stdme/src/hash/hash_str.c
Normal file
20
stdme/src/hash/hash_str.c
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* hash_str.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/04 19:17:11 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/05/04 19:18:26 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "me/hash/hasher.h"
|
||||
#include "me/string/str_len.h"
|
||||
#include "me/types.h"
|
||||
|
||||
void hasher_write_str(t_hasher *hasher, t_str s)
|
||||
{
|
||||
hasher_write_bytes(hasher, (t_u8 *)s, str_len(s));
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue