Is anyone familiar with BLAS (Basic Linear Algebra Subprograms)?

I am trying to use the dot product subtroutine (dot.c in a C program to multiply two arrays(matrix). The subroutine is already written, but I don't know how to call the subroutine is my program. I have attached the subroutine. PLEASE HELP!!!