slang-users mailing list

[2000 Date Index] [2000 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: Problems with structures in S-Lang


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]