BRL-CAD
#include "common.h"
#include <string.h>
#include <ctype.h>
#include <stdio.h>
#include "bu/debug.h"
#include "bu/malloc.h"
#include "bu/parallel.h"
#include "bu/str.h"
Include dependency graph for str.c:

Go to the source code of this file.

Functions

size_t bu_strlcatm (char *dst, const char *src, size_t size, const char *label)
 
size_t bu_strlcpym (char *dst, const char *src, size_t size, const char *label)
 
char * bu_strdupm (register const char *cp, const char *label)
 
int bu_strcmp (const char *string1, const char *string2)
 
int bu_strncmp (const char *string1, const char *string2, size_t n)
 
int bu_strcasecmp (const char *string1, const char *string2)
 
int bu_strncasecmp (const char *string1, const char *string2, size_t n)
 

Detailed Description

Compatibility routines to various string processing functions including strlcat and strlcpy.

Definition in file str.c.

Function Documentation

char* bu_strdupm ( register const char *  cp,
const char *  label 
)

Definition at line 142 of file str.c.

References bu_debug, BU_DEBUG_MEM_LOG, bu_malloc(), BU_SEM_SYSCALL, bu_semaphore_acquire(), bu_semaphore_release(), and UNLIKELY.

Here is the call graph for this function: