From: utzoo!decvax!harpo!floyd!cmcl2!philabs!sdcsvax!sdccsu3!sdcvax!trw-unix!trwspp!sentry1!hawker Newsgroups: net.unix-wizards Title: 4.1cBSD insque() Article-I.D.: sentry1.1478 Posted: Thu Apr 14 10:52:28 1983 Received: Sat Apr 16 04:03:29 1983 I have some code I need to upgrade from 4.1BSD to 4.1c/4.2, and this stuff uses a look-alike for the insque() function. Specifically, I need the semantics of the code. Given: struct queue { struct queue *succ, *pred; } h; If I want to insert an element at the "tail", do I use: insque(h.pred, &element.links); - or - insque(&h, &element.links); Please send replies to: Thomas S. (Tom) Hawker TRW DSG, Bldg R2/2009 Redondo Beach, CA 90278 (213) 535-6166 ...!{ucbvax,decvax,sdcvax}!trw-unix!trwspp!hawker