This function returns the string in the line which starts with the specified key string in the text returned from print_self_status. The key string itself is excluded from the returned string. If the specified key is not found in the text an empty string will be returned.
info can be used to change the input that should be read, it defaults to '/proc/self/status'.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | key | |||
character(len=*), | intent(in), | optional | :: | info |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | private | :: | scratchUnit | ||||
character(len=80), | private | :: | bufline | ||||
integer, | private | :: | ios | ||||
integer, | private | :: | keylen | ||||
logical, | private | :: | match |