Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!ucsd!ucsdhub!esosun!seismo!uunet!dalcs!trent From: trent@dalcs.UUCP (Trent MacDougall) Newsgroups: comp.sys.att Subject: problem with memcpy (3B1) Keywords: memcpy Message-ID: <2964@dalcs.UUCP> Date: 1 Aug 88 16:20:37 GMT Distribution: na Organization: Math, Stats & CS, Dalhousie University, Halifax, NS, Canada Lines: 14 I have a problem with memcpy. I can't get it to work. When I compile a program that is using it the compiler bombs in memory.h. If I leave out memory.h and put char *memcpy() in my program it says argument mismatch. And finally if I don't even declare it I get the message that it can't find bcopy.o. Has anyone had this trouble on the 3B1 (3.51)? Please help if you can. Just another note, I was using getpwent and getgrent and found that getpwent is declared properly but getgrent isn't. ie. getgrent is struct group instead of being struct group *, so I must force a cast -- UUCP {uunet utai watmath}!dalcs!trent CDN trent@cs.dal.cdn INTERNET trent%dalcs@uunet.UU.NET