The c_mknod() function

The functionality of c_mknod() is straightforward. It calls iofunc_client_info_ext() to get information about the client, then resolves the pathname using connect_msg_to_attr(), does some error checking (among other things, calls the helper function iofunc_mknod()), and finally creates the directory by calling the utility function cfs_a_mkdir().