bsd man page for compat-sys5

Query: compat-sys5

OS: bsd

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

COMPATS5(3)						     Library Functions Manual						       COMPATS5(3)

NAME
memccpy, memchr, memcmp, memcpy, memset, strchr, strrchr, tempnam, tmpfile, tmpnam - System V compatibility routines
SYNOPSIS
char *memccpy(from, to, ch, count) char *from, *to; int ch, count; char *memchr(str, ch, count) char *str; int ch, count; int memcmp(str1, str2, count) char *str1, *str2; int count; char *memcpy(from, to, count) char *from, to; int count; char *memset(str, ch, count) char *str; int ch, count; char *strchr(str, ch); char *str; int ch; char *tempnam(tmpdir, prefix) char *tmpdir, *prefix; char *tmpfile() char *tmpnam(str) char *str;
COMMENT
The #defines P_tmpdir and L_tmpnam, used by the routines tempnam, tmpfile, and tmpnam are not available in <stdio.h>. If the code requires them, just use: #include <sys/param.h> #define P_tmpdir "/usr/tmp" #define L_tmpnam MAXPATHLEN Also, note that the caveat in the System V manual page that these functions can start recycling previously used names is untrue in this system.
DESCRIPTION
The above routines are available and behave as in System V. strchr() and strrchr() are simply an alternate entry points into index() and rindex() respectively. 4.4 Berkeley Distribution January 12, 1996 COMPATS5(3)
Related Man Pages
tmpfile(3) - mojave
string(3) - minix
string(3) - netbsd
tmpfile(3) - netbsd
tmpnam(3) - osx
Similar Topics in the Unix Linux Community
Simple rules of the UNIX.COM forums:
LM 19.1 from pendrive
UNIX Environment Setup - (Just starting!)
Don Cragun crossing 4500 thanks went unnoticed for more than a week - late congratulations!
Is it safe to install x86 Solaris 10 U6 after installed-Linux-and-FreeBSD?