Each user library must contain a library registration function, uclib (for C) or uflib (for Fortran). STAR-CCM+ calls this function when the user library is first attached in order to do the following:
Library registration functions should follow the C template or Fortran template, either by coding in those languages or by replicating their bindings.