Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

how to open a file with open in c

int main (void)
{
	int fd = open("path_name.c", O_RDONLY);  // the file is now open, you just need to read it
	return (0);
}
 
PREVIOUS NEXT
Tagged: #open #file #open
ADD COMMENT
Topic
Name
8+2 =