~ubuntu-branches/ubuntu/saucy/manpages/saucy

« back to all changes in this revision

Viewing changes to man3/strnlen.3

  • Committer: Package Import Robot
  • Author(s): Loïc Minier
  • Date: 2011-10-17 13:06:22 UTC
  • mfrom: (1.1.46 upstream) (2.2.11 sid)
  • Revision ID: package-import@ubuntu.com-20111017130622-rbdw3julnma2baqu
Tags: 3.32-0.2ubuntu1
* Merge from Debian testing/unstable; remaining changes:
  - ptrace.2, prctl.2: document Ubuntu-specific PTRACE_ATTACH,
    PR_SET_PTRACER behavior.
* Keep Debian's glibc-doc version in the Replaces as it's satisfactory for
  upgrades from natty and lucid.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
.\" References consulted:
9
9
.\"   GNU glibc-2 source code and manual
10
10
.\"
11
 
.TH STRNLEN 3  2010-09-15 "GNU" "Linux Programmer's Manual"
 
11
.TH STRNLEN 3  2010-10-31 "GNU" "Linux Programmer's Manual"
12
12
.SH NAME
13
13
strnlen \- determine the length of a fixed-size string
14
14
.SH SYNOPSIS
15
15
.nf
16
 
.B #define _GNU_SOURCE
17
 
.sp
18
16
.B #include <string.h>
19
17
.sp
20
18
.BI "size_t strnlen(const char *" s ", size_t " maxlen );
58
56
.SH "CONFORMING TO"
59
57
This function is a GNU extension.
60
58
.SH "SEE ALSO"
61
 
.BR strlen (3),
62
 
.BR feature_test_macros (7)
 
59
.BR strlen (3)
63
60
.SH COLOPHON
64
 
This page is part of release 3.27 of the Linux
 
61
This page is part of release 3.32 of the Linux
65
62
.I man-pages
66
63
project.
67
64
A description of the project,