허.. 이상합니다..
코드:
[code:1]
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <gdbm.h>
int main(int argc,char **argv){
GDBM_FILE dbf;
char buf[65]={0};
datum key={0},nextkey={0},content={0};
int ret;
printf("Content-Type: text/html;\r\n");
printf("\r\n");
dbf = gdbm_open("haha", 0, GDBM_WRCREAT,0777, NULL);
if(dbf==NULL){
printf("gdbm open failure.\n");