[code:1]선언이 다음처럼 되어있고요...
#include <sys/mman.h>
#include <fcntl.h>
typedef struct en54070_info {
int intNum;
time_t tm;
char data[ 20000 * 10 ][ 14 ];
} en54070_info_t;
en54070_info_t *gptr; /* pointer to a shared memory object */
... ( 중략 ) ...
if ( ( gptr = mmap( NULL , sizeof ( en54070_info_t ) , PROT_READ | PROT_WRITE , MAP_SHARED , fd , 0 ) ) == MAP_FAILED )
{
f_BatchErrLogWrite( __LINE__ , "Fatal error in mmap %s\n" , strerror( errno ) );