Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unix-porting Digest, Vol 2, Issue 190



I'm attempting to compile this code but is stops at "int timer_pending (void);" can you help me find the problem ?


#ifndef _TIMER_H #define _TIMER_H

#include <sys/time.h>

struct bc_timer {
    struct timeval tv;
    void (*function)(void *);
    void *data;
};

int timer_init(int max);
int timer_pending(void);
int timer_expired(void);
int timer_add(struct bc_timer *bct, long timeout);
void timer_remove(struct bc_timer *bct);
#endif



Yours
Thomas Nielsen
Denmark





_______________________________________________
Do not post admin requests to the list. They will be ignored.
Unix-porting mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/unix-porting/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.