Path: utzoo!utgpu!water!watmath!clyde!att!rutgers!mailrus!ames!pasteur!ucbvax!LAKISIS.UMD.EDU!mbp From: mbp@LAKISIS.UMD.EDU ("Mark Phillips ", RD Goldman) Newsgroups: comp.lang.c Subject: questions about C standards Message-ID: <8809171754.AA02615@lakisis.umd.edu> Date: 17 Sep 88 17:54:47 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 23 I have two questions regarding C standards: (1) Where can I find ANSI documents containing the current (if any) and proposed standards? Are they published in a book or journal? (2) Is it considered acceptable to do the following things with structures or unions? (a) pass them (by value) to functions (b) have functions which return them (c) assign them (=) (d) test them (structures only) for equality with == By "acceptable" I mostly mean "portable". The C compilers which I currently use (Sun OS and MS) allow at least (a),(b), and (c), but I am wondering whether I might run into problems porting my programs to other machines in the future if I do these things. Thanks! Mark Phillips Department of Mathematics University of Maryland College Park, Maryland