iPXE
Functions
wchar.c File Reference

Wide-character strings. More...

#include <wchar.h>

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER_OR_UBDL)
 
size_t wcslen (const wchar_t *string)
 Calculate length of wide-character string. More...
 

Detailed Description

Wide-character strings.

Definition in file wchar.c.

Function Documentation

◆ FILE_LICENCE()

FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL  )

◆ wcslen()

size_t wcslen ( const wchar_t string)

Calculate length of wide-character string.

Parameters
stringString
Return values
lenLength (excluding terminating NUL)

Definition at line 41 of file wchar.c.

41  {
42  size_t len = 0;
43 
44  while ( *(string++) )
45  len++;
46  return len;
47 }
uint32_t len
Length.
Definition: ena.h:14

References len.

Referenced by efi_file_find(), efi_image_exec(), and efi_snp_hii_append().