ftab.c
// return fd if found else -1
return fd if found else -1
return fd if found else - 1
int ftab_get(struct ftab* ft, char* key)
{
	int idx = times_33(key) % FTAB_SIZE;
	struct ftab_node* p = ft->tab[idx];
	while (p)
	{
		if (strcmp(key, p->key) == 0) {
			return p->fd;
		}
	}
	return -1;
}
int ftab_get ( struct ftab * ft , char * key ) { int idx = times_33 ( key ) % FTAB_SIZE ; struct ftab_node * p = ft -> tab [ idx ] ; while ( p ) { if ( strcmp ( key , p -> key ) == 0 ) { return p -> fd ; } } return -1 ; }
return fd if found else -1
return fd if found else - 1