1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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