- Subject: Re: Problems with structures in S-Lang
- From: Goran Koruga <goran.koruga@xxxxxxxxx>
- Date: Mon, 7 Feb 2000 09:52:43 +0100
On Mon, Feb 07 2000, John E. Davis wrote:
> Goran Koruga <goran.koruga@xxxxxxxxx> wrote:
> [...]
> >static struct timeval *Msl_timestamp; /* it's malloc'd in main() */
>
> How are you allocating this?
Msl_timestamp = (struct timeval *) malloc(sizeof(struct timeval));
Nothing unusual there...
Thanks, Goran
>
> --John
--
_______________________________________________________________
Goran Koruga goran.koruga@xxxxxxxxx
HERMES Softlab
Litijska 51 phone: +386 61 1865 524
1000 Ljubljana, Slovenia
[2000 date index]
[2000 thread index]
[Thread Prev] [Thread Next]
[Date Prev] [Date Next]