Design Pattern Examples
Overview of object-oriented design patterns
strdup.h File Reference

Declaration of the STRDUP macro that hides the differences between how strdup() is declared in different operating systems. More...

#include <string.h>
Include dependency graph for strdup.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define __STRDUP_H__
 
#define STRDUP   strdup
 Define STRDUP to be the operating system-specific version of strdup().
 

Detailed Description

Declaration of the STRDUP macro that hides the differences between how strdup() is declared in different operating systems.

Definition in file strdup.h.

Macro Definition Documentation

◆ __STRDUP_H__

#define __STRDUP_H__

Definition at line 8 of file strdup.h.

◆ STRDUP

#define STRDUP   strdup

Define STRDUP to be the operating system-specific version of strdup().

Definition at line 17 of file strdup.h.