Quite recently, the present authors [16] have defined and investigated the notion of mg^*-closed sets as a modification of g-closed sets due to Levine [10]. In this paper, we introduce the notion of mg^*-closed function and obtain a general decomposition of closed functions in topological spaces.