1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

regarding function

Discussion in 'C' started by answerme, Dec 27, 2007.

  1. answerme

    answerme New Member

    Joined:
    Dec 17, 2007
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    0
    Code:
      [B] PDEV[/B] *get_dfprt(register mydnum flx)
    {
    	u_short ctr;
    	DUPNUM *dptr = &GDFNUM[0];
    	for(ctr=0;ctr<DFNUM_EN;ctr++,dptr++)
    	{
    		if(dptr->num == flx)
    			return(&dptr->pd);
    	}
    	return((PDEV *)0);
    }
    where PDEV is a structure & having some members

    Iam not getting this function definition ,what does it means

    PDEV *get_dfprt(register mydnum flx)
     
  2. answerme

    answerme New Member

    Joined:
    Dec 17, 2007
    Messages:
    114
    Likes Received:
    0
    Trophy Points:
    0
    mydum is unsigned long
     

Share This Page