FMS  2024.03
Flexible Modeling System
fms_find_my_string_binding Interface Reference

Private c function that finds a string in a SORTED array of c pointers. More...

Private Member Functions

type(c_ptr) function fms_find_my_string_binding (my_pointer, p_size, string_to_find, nfound)
 

Detailed Description

Private c function that finds a string in a SORTED array of c pointers.

Returns
Indices of my_pointer where the string was found as a string!!!

Definition at line 65 of file fms_string_utils.F90.

Constructor & Destructor Documentation

◆ fms_find_my_string_binding()

type(c_ptr) function fms_find_my_string_binding ( type(c_ptr), dimension(*), intent(in)  my_pointer,
integer(kind=c_int), intent(in)  p_size,
character(kind=c_char), dimension(*), intent(in)  string_to_find,
integer(kind=c_int), intent(inout)  nfound 
)
private
Parameters
[in]my_pointerArray of sorted c pointer
[in]p_sizeSize of the array
[in]string_to_findString to find
[in,out]nfoundNumber of times the array was found

Definition at line 65 of file fms_string_utils.F90.


The documentation for this interface was generated from the following file: