view regex/regex.cc @ 43:ead0a307449e

add regex.cc
author Masataka Kohagura <kohagura@cr.ie.u-ryukyu.ac.jp>
date Tue, 03 Mar 2015 00:44:39 +0900
parents
children 62739627f8ec
line wrap: on
line source

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <math.h>
#include <string.h>
#include <sys/mman.h>
#include <sys/stat.h>
#include <sys/types.h>
#include <fcntl.h>
#include "regex.h"

void* regex(RegexDataPtr regexD)
{
    char* readText = regexD->readText;
    int readTextLen = regexD->readTextLen;
    char* searchWord = regexD->searchWord;
    int searchWordLen = regexD->searchWordLen;
}