title: Does it makes sense to define an inline function which makes calls to other function(s)?
body: <p>From what I know an inline function is an optimization to enhance performance, thus it should run as fast as a macro. Inline function's code should be as short as possible.</p>
  
  <p>I wonder if it make sense to embed functions calls inside an inline function. If the answer is yes, in which context and what are the restrictions?</p>
  
  <p>Actually, I am asking this question because I looked at a code of someone who is calling functions such as "socket()", "sendto()" and "memset()" from inline functions; something that overrides the purpose of an inline function in my opinion. </p>
  
  <p>Note: In the code I have there is no use of any conditional calls to the functions, the inline function just passes arguments to the called functions.</p>