🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.sys.sequent
1 messages
1 total messages Started by John Norden Sun, 04 Dec 1988 04:04
bcopy on a sequent symmetry
#717
Author: John Norden
Date: Sun, 04 Dec 1988 04:04
23 lines
1248 bytes
Has anyone ever tried to use bcopy to copy a shared memory region
to a non shared region with success.  When I run the code bellow I
get a segmentation fault.  Is this a bug with bcopy?

This just an example I am actually trying to copy a struct.  



shared  int x;
main () {
    int y;
    bcopy (&x, &y, sizeof (int));
}




_______________________________________________________________________________
John D. Norden             | jdn@sbcs.sunysb.edu                       INTERNET
Dept. of Computer Science  | jdn@suny-sb                                  CSNet
SUNY at Stony Brook        | {allegra,philabs,pyramid,research}!sbcs!jdn   UUCP
Stony Brook, NY 11794-4400 | (516) 632-7677 or 632-4569                   Voice
-------------------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads