home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / amiga / programm / 17972 < prev    next >
Encoding:
Text File  |  1992-12-31  |  1023 b   |  24 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!usc!rpi!gatech!enterpoop.mit.edu!thunder.mcrcim.mcgill.edu!sifon!charnel!psgrain!m2xenix!agora!robart
  3. From: robart@agora.rain.com (Joe Bob)
  4. Subject: Re: AmigaDOS library functions and ANSI-C programming
  5. Message-ID: <C03uy8.9xF@agora.rain.com>
  6. Organization: a gora
  7. References: <1992Dec29.221144.26405@urbana.mcd.mot.com> <1hrqupINNipe@aurora.unice.fr>
  8. Date: Thu, 31 Dec 1992 03:56:31 GMT
  9. Lines: 13
  10.  
  11. In article <1hrqupINNipe@aurora.unice.fr> beust@aurora.unice.fr (Cedric Beust) writes:
  12. >
  13. >    I was reading the autodoc for AddHead which looks like
  14. >    AddHead(struct List *list, struct Node *node)
  15. >    and I was wondering if a copy of the node would be done and then
  16. >    pointed to in the list or if *my* node would be directly referenced.
  17.  
  18.  
  19.   AddHead has to modify your node in order to add it to the list.
  20. And it can't in general use a copy of the node since it does't
  21. know how big it is.  The node could be a Task, a Message, an IORequest,
  22. a Font, or just about anything.
  23.  
  24.