fork(1) download
  1. #include <iostream>
  2.  
  3. struct gatt_db_attribute {};
  4.  
  5. bool gatt_db_service_set_active(struct gatt_db_attribute *attrib, bool active, int fd=0);
  6.  
  7. int main() {
  8. gatt_db_service_set_active(NULL, true);
  9.  
  10. gatt_db_service_set_active(NULL, true, 3);
  11.  
  12. }
  13.  
  14. bool gatt_db_service_set_active(struct gatt_db_attribute *attrib, bool active, int fd) {
  15. // stuff
  16. }
  17.  
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
Standard output is empty