FreeBSDでtime()関数を使いたいんですが
time_t *nowtime;
time(nowtime);
printf("time---%d\n", nowtime)
って感じで書いたのですが
常にnowtimeは0になってます。
どうすれば今の時間を取得出来るのでしょうか?