Subversion Repositories Kolibri OS

Rev

Rev 4874 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 4874 Rev 4921
Line 5... Line 5...
5
INDEX
5
INDEX
6
	strncpy
6
	strncpy
Line 7... Line 7...
7
 
7
 
8
ANSI_SYNOPSIS
8
ANSI_SYNOPSIS
9
	#include 
9
	#include 
-
 
10
	char *strncpy(char *restrict <[dst]>, const char *restrict <[src]>,
Line 10... Line 11...
10
	char *strncpy(char *<[dst]>, const char *<[src]>, size_t <[length]>);
11
                      size_t <[length]>);
11
 
12
 
12
TRAD_SYNOPSIS
13
TRAD_SYNOPSIS
13
	#include 
14
	#include 
Line 64... Line 65...
64
 
65
 
Line 65... Line 66...
65
#define TOO_SMALL(LEN) ((LEN) < sizeof (long))
66
#define TOO_SMALL(LEN) ((LEN) < sizeof (long))
66
 
67
 
67
char *
68
char *
68
_DEFUN (strncpy, (dst0, src0),
69
_DEFUN (strncpy, (dst0, src0),
69
	char *dst0 _AND
70
	char *__restrict dst0 _AND
70
	_CONST char *src0 _AND
71
	_CONST char *__restrict src0 _AND
71
	size_t count)
72
	size_t count)
72
{
73
{
73
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)
74
#if defined(PREFER_SIZE_OVER_SPEED) || defined(__OPTIMIZE_SIZE__)