Name
kstrndup — 
     allocate space for and copy an existing string
 
Synopsis
| char * kstrndup ( | const char * s, | 
|  | size_t max, | 
|  | gfp_t gfp ); | 
 
Arguments
- s
- 
     the string to duplicate
     
- max
- 
     read at most - maxchars from- s
 
- gfp
- 
     the GFP mask used in the - kmalloccall when allocating memory