title: Implementation of lockf() for android NDK
body: <p>The Android NDK lacks the lockf() function.
  While I was compiling CUPS with Android NDK, the error came of missing lockf().
  Hence there is need to create function similar to lockf() for NDK.
  Please help me in creating such a function.</p>
  
  <p>Any help will be highly appreciated.</p>
  
  <p>PS:I m a noob</p>