Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
INDEX
abort
-ANSI_SYNOPSIS
+SYNOPSIS
#include <stdlib.h>
void abort(void);
-TRAD_SYNOPSIS
- #include <stdlib.h>
- void abort();
-
DESCRIPTION
Use <<abort>> to signal that your program has detected a condition it
cannot deal with. Normally, <<abort>> ends your program's execution.
INDEX
strcmp
-ANSI_SYNOPSIS
+SYNOPSIS
#include <string.h>
int strcmp(const char *<[a]>, const char *<[b]>);
-TRAD_SYNOPSIS
- #include <string.h>
- int strcmp(<[a]>, <[b]>)
- char *<[a]>;
- char *<[b]>;
-
DESCRIPTION
<<strcmp>> compares the string at <[a]> to
the string at <[b]>.
INDEX
strcpy
-ANSI_SYNOPSIS
+SYNOPSIS
#include <string.h>
char *strcpy(char *restrict <[dst]>, const char *restrict <[src]>);
-TRAD_SYNOPSIS
- #include <string.h>
- char *strcpy(<[dst]>, <[src]>)
- char *<[dst]>;
- char *<[src]>;
-
DESCRIPTION
<<strcpy>> copies the string pointed to by <[src]>
(including the terminating null character) to the array
INDEX
strlen
-ANSI_SYNOPSIS
+SYNOPSIS
#include <string.h>
size_t strlen(const char *<[str]>);
-TRAD_SYNOPSIS
- #include <string.h>
- size_t strlen(<[str]>)
- char *<[src]>;
-
DESCRIPTION
The <<strlen>> function works out the length of the string
starting at <<*<[str]>>> by counting chararacters until it