Article View: comp.sys.sequent
Article #717bcopy on a sequent symmetry
From: John Norden
Date: Sun, 04 Dec 1988 04:04
Date: Sun, 04 Dec 1988 04:04
23 lines
1248 bytes
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
-------------------------------------------------------------------------------
Technical Details
Message-ID:
<1873@sbcs.sunysb.edu>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!sunybcs!sbcs!jdnShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!clyde!att!rutgers!sunybcs!sbcs!jdn From: jdn@sbcs.sunysb.edu (John Norden) Newsgroups: comp.sys.sequent Subject: bcopy on a sequent symmetry Keywords: bcopy sequent symmetry Message-ID: <1873@sbcs.sunysb.edu> Date: 4 Dec 88 04:04:33 GMT Sender: news@sbcs.sunysb.edu Reply-To: jdn@sbcs.sunysb.edu (John Norden) Organization: State University of New York at Stony Brook Lines: 23