Search:

Type: Posts; User: rpalmer

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    2,659

    fork() inside a thread

    Hi all,

    It is possible to call a fork() cmd inside a thread?
    I couldn't find any documentation on this.

    Thanks
  2. Is it safe for a thread to cleanup its own arguements?

    Hi all,

    I got the following program running without any problems, but i wanted to double check im not breaking any 'safe' programming rules...

    The pseudo-code is



    typedef struct...
  3. Replies
    4
    Views
    1,342

    Ok Thanks. So to use malloc, I would have to...

    Ok Thanks.

    So to use malloc, I would have to change my char pointers to fixed length arrays?

    ie.


    struct ftp_details {
    char host[200];
    char userpass[100];
  4. Replies
    4
    Views
    1,342

    Declaring an array with an integer

    Hi,
    I want to create an array based on the result from a mysql query.

    ie.


    int num_to_create;

    struct ftp_details {
    char *host;
Results 1 to 4 of 4