title: Can't call fseek with inline assembly
body: <pre><code>#include "stdio.h"
  void fseek(void *, int, int);
  main () {
     FILE* f = fopen("myfile", "rb");
     asm("push 2");
     asm("push 0");
     asm("push f");
     asm("call fseek");
     asm("add esp, 12");
  }
  </code></pre>
  
  <p>gcc -masm=intel call.c </p>
  
  <pre><code>call.c:(.text+0x2c): undefined reference to `f'
  call.c:(.text+0x31): undefined reference to `fseek'
  </code></pre>
  
  <p>I have been trying to use AT/T syntax but got the same result.</p>