www.delorie.com/djgpp/doc/libc-2.01/libc_610.html   search  
Go to the first, previous, next, last section, table of contents.


strlen

Syntax

#include <string.h>

size_t strlen(const char *string);

Description

This function returns the number of characters in string.

Return Value

The length of the string.

Example

if (strlen(fname) > PATH_MAX)
  invalid_file(fname);


Go to the first, previous, next, last section, table of contents.

  prev next   webmaster     delorie software   privacy  
  Copyright © 1997     Updated Apr 1997