library routine

noun

1.
a debugged routine that is maintained in a program library