Search:

Type: Posts; User: leGrandNono

Search: Search took 0.01 seconds.

  1. Replies
    6
    Views
    14,451

    Thanks for your answers ;) I replaced the...

    Thanks for your answers ;)


    I replaced the pointers in parent_t with values and the code works.


    If I understand correctly, it didn't work because no memory was allocated for the child_t...
  2. Replies
    6
    Views
    14,451

    using memcpy to fill a struct

    I try to fill the parent structure with a memcpy. I work on embedded system (with Contiki OS). So I try to avoid using a malloc because I read that it is not recommended.

    I test the code on my...
Results 1 to 2 of 2