add function fc_compare_int64_ptr

use_iouring
YuQing 2025-03-18 08:42:39 +08:00
parent aa144b5981
commit de1e9e7ec4
3 changed files with 9 additions and 1 deletions

View File

@ -1,6 +1,7 @@
Version 1.77 2025-02-03
Version 1.77 2025-03-18
* impl. shorten_path for /./ and /../
* add function fc_compare_int64_ptr
Version 1.76 2025-01-27
* get_mounted_filesystems act as program df

View File

@ -4362,3 +4362,8 @@ int fc_itoa(int64_t n, char *buff)
}
return (start - buff) + len;
}
int fc_compare_int64_ptr(const int64_t *n1, const int64_t *n2)
{
return fc_compare_int64(*n1, *n2);
}

View File

@ -777,6 +777,8 @@ int set_run_by(const char *group_name, const char *username);
*/
int cmp_by_ip_addr_t(const void *p1, const void *p2);
int fc_compare_int64_ptr(const int64_t *n1, const int64_t *n2);
/** parse bytes
* parameters:
* pStr: the string to parse