~vibhavp/ubuntu/raring/firestring/add-autopkgtest

« back to all changes in this revision

Viewing changes to man/firestring_strncpy.3

  • Committer: Bazaar Package Importer
  • Author(s): Andres Salomon
  • Date: 2004-02-15 22:56:32 UTC
  • Revision ID: james.westby@ubuntu.com-20040215225632-bf8cbsw75air5x75
Tags: upstream-0.9.9
ImportĀ upstreamĀ versionĀ 0.9.9

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" (C) 2002 Ian Gulliver
 
2
.TH firestring_strncpy 3 2002-03-31
 
3
.SH NAME
 
4
firestring_strncpy \-
 
5
.BR strncpy (3)
 
6
with slightly saner semantics
 
7
.SH SYNOPSIS
 
8
.B #include <firestring.h>
 
9
.br
 
10
.B -lfirestring
 
11
.LP
 
12
.BI "void firestring_strncpy(char * const " "to" ", const char * const " "from" ", const size_t " "size" ")"
 
13
.SH DESCRIPTION
 
14
firestring_strncpy() acts like
 
15
.BR strncpy (3)
 
16
except that
 
17
.I to
 
18
will always contain a trailing nil, even if the function runs
 
19
out of space.
 
20
.SH RETURN VALUE
 
21
Always succeeds.
 
22
.SH AUTHOR
 
23
Ian Gulliver <ian@penguinhosting.net>
 
24
.SH SEE ALSO
 
25
.BR libfirestring (3)