Re: Cloning structs

From: Patrick Dughi (dughi@imaxx.net)
Date: 03/27/99


> memcpy()
> memmove()
>
> These can copy or move parts of the memory to another, which structs with
> values are easily copyable (copiable?).
>
        However, you can't do something with a struct like:

struct thisone = {
  char *a_string;
  struct this_one *next;
};

        Memcpy simply won't work, and memmove is nearly the same sort of
thing.
                                        PjD


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST