summaryrefslogtreecommitdiffstats
path: root/src/b_sqb_str.c
blob: 0b23d7bee5c71482ed999b4b6d7557731e47a1f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* ************************************************************************** */
/*                                                                            */
/*                                                        :::      ::::::::   */
/*   b_sqb_str.c                                        :+:      :+:    :+:   */
/*                                                    +:+ +:+         +:+     */
/*   By: rbousset <marvin@42.fr>                    +#+  +:+       +#+        */
/*                                                +#+#+#+#+#+   +#+           */
/*   Created: 2020/02/14 17:19:27 by rbousset          #+#    #+#             */
/*   Updated: 2020/02/14 17:19:29 by rbousset         ###   ########lyon.fr   */
/*                                                                            */
/* ************************************************************************** */

#include <stdint.h>

#include "d_define.h"

uint8_t
	b_sqb_str(uint8_t id,
			char *argv[])
{
	if (id == FT_ID_SQB_Z)
	{
		if (argv[1][0] != '\0')
			return (0);
		else
			return (1);
	}
	return (1);
}