fdesc and proc utility functions