globus_libc.h(3)

πŸ“¦
version 18.15 Β· 6 versions
, in epel 10, fedora 43, fedora 44, ubuntu resolute, ubuntu stonking

🌸 globus_libc.h β€” the manual page, bestie edition πŸ’…

okay so you found your way into globus_libc.h(3), which lives in the Library Functions Manual section (section 3, the function-call girlies 🫢). Come sit, I got you.


✨ NAME ✨

globus_libc.h β€” thread-safe libc macros and function prototypes. that's it, that's the whole vibe check 🌈


πŸŽ€ SYNOPSIS πŸŽ€

bestie you gotta include these first, no skipping:

#include 'globus_common_include.h'
#include 'globus_thread.h'

πŸ¦‹ Functions

here's the whole cast, main character energy only:

char * globus_libc_join (const char **array, int count)
globus_result_t globus_libc_contact_string_to_ints (const char
    *contact_string, int *host, int *count, unsigned short *port)

πŸ’– DESCRIPTION πŸ’–

Thread-safe libc macros, function prototypes. periodt. that's the entire detailed description and honestly? it ate. ✨


πŸ‘‘ FUNCTION DOCUMENTATION πŸ‘‘

🌟 globus_result_t globus_libc_contact_string_to_ints (const char * contact_string, int * host, int * count, unsigned short * port)

this one's whole job is to convert a numeric contact string to an array of ints, and she does it flawlessly no cap πŸ’œ

the deets, and listen up because these matter:

  • port is optional and may be NULL. if no port is found, 0 will be passed back. lowkey graceful πŸŽ€
  • host needs to have room for at least 16 ints. do not skimp on the space, bestie, she will not be nice about it πŸ’€
  • count will be passed back. it's 4 for ipv4, 16 for ipv6. iconic behavior, knowing exactly which one it is 🌈
not me warning you again: give host room for at least 16 ints. fr fr. 🫢

🌸 char * globus_libc_join (const char ** array, int count)

she creates a new string from all of the strings in array. a little glue girlie, obsessed πŸ’…

Parameters β€” the receipts:

  • array β€” an array of strings to concatenate (null entries are skipped) πŸ™ˆ
  • count β€” length of array

🧚 AUTHOR 🧚

Generated automatically by Doxygen for globus_common from the source code. yeah, no human wrote this, a robot did, and honestly she served ⭐


and that's the whole page!! πŸ’– the last line of the original says globus_common, Version 18.15, dated with globus_libc.h(3) β€” so shoutout to globus_common version 18.15 for this one, we love her, mwah πŸŽ€πŸ¦‹βœ¨