-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathutil_flag.h
More file actions
22 lines (19 loc) · 1.1 KB
/
Copy pathutil_flag.h
File metadata and controls
22 lines (19 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* util_flag.h :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: jkong <jkong@student.42seoul.kr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/03/14 18:51:56 by jkong #+# #+# */
/* Updated: 2022/06/24 16:13:40 by jkong ### ########.fr */
/* */
/* ************************************************************************** */
#ifndef UTIL_FLAG_H
# define UTIL_FLAG_H
void set_flag(int *ptr, int index);
void reset_flag(int *ptr, int index);
int has_flag(int flags, int index);
int add_flag(int flags, int index);
int remove_flag(int flags, int index);
#endif